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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis will print the documents data.voidprintBookmark(PDDocument document, PDOutlineNode bookmark, String indentation) This will print the documents bookmarks to System.out.private static voidusage()This will print the usage for this document.
-
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.
-
usage
private static void usage()This will print the usage for this document.
-