Class CreateBookmarks
java.lang.Object
org.apache.pdfbox.examples.pdmodel.CreateBookmarks
This is an example on how to add bookmarks to a PDF document. It simply
adds 1 bookmark for every page.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CreateBookmarks
private CreateBookmarks()
-
-
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.
-