pdfAnnotations: Extract highlighted or underlined text from a PDF file

Description Usage Arguments Details Value Author(s)

View source: R/pdfAnnotations.R

Description

Extract highlighted or underlined text from a PDF file

Usage

1
pdfAnnotations(file, type=c("Highlight", "Popup"), collapse = TRUE)

Arguments

file

charater, path of a PDF file.

type

Type of text exerpts.

collapse

logical, the result is concatenated into a single string when TRUE.

Details

This function uses the jPod java library to do the hardwork.

To extract the highlighted text, the highlighted must be created with specific PDF reader. You can refer to Docear project http://www.docear.org/support/user-manual/#compatible_pdf_readers for settings of PDF reader.

Value

character vector of the extracted text.

Author(s)

Ronggui HUANG


rjpod documentation built on May 2, 2019, 4:54 p.m.

Related to pdfAnnotations in rjpod...