PDF_doc: PDF document reference

Description Usage Arguments Value Examples

View source: R/doc.R

Description

Create a reference to a Portable Document Format (PDF) file for use in subsequent information extraction from the file.

Usage

1

Arguments

file

A character string giving the path to a PDF file.

Value

A reference to a PDF file (external pointer object).

Examples

1
2
3
4
5
6
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
doc <- PDF_doc(file)
## Can now use the reference for information extraction, avoiding
## the creation of new PopplerDocument objects when doing so.
PDF_info(doc)
PDF_fonts(doc)

Rpoppler documentation built on May 29, 2017, 9:38 a.m.

Related to PDF_doc in Rpoppler...