Description Usage Arguments Details Value Author(s)
View source: R/pdfAnnotations.R
Extract highlighted or underlined text from a PDF file
1 | pdfAnnotations(file, type=c("Highlight", "Popup"), collapse = TRUE)
|
file |
charater, path of a PDF file. |
type |
Type of text exerpts. |
collapse |
logical, the result is concatenated into a single string when TRUE. |
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.
character vector of the extracted text.
Ronggui HUANG
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.