Class PrintBookmarks
java.lang.Object
org.apache.pdfbox.examples.pdmodel.PrintBookmarks
This is an example on how to access the bookmarks that are part of a pdf document.
- Author:
- Ben Litchfield
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis will print the documents data.voidprintBookmark(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode bookmark, String indentation) This will print the documents bookmarks to System.out.
-
Constructor Details
-
PrintBookmarks
public PrintBookmarks()
-
-
Method Details
-
main
This will print the documents data.- Parameters:
args- The command line arguments.- Throws:
IOException- If there is an error parsing the document.
-