Insert and Extract bookmarks from a PDF
extract_bookmarks(pdfin, bookmarks) insert_bookmarks(pdfin, bookmarks, pdfout = pdfin)
pdfin, pdfout | Input and Output PDFs |
---|---|
bookmarks | Path to a bookmarks PDF file in pdftk format or a character vector of length >1 containing bookmark text. |
location of pdftk bookmark file
location of modified PDF