Class CreateBookmarks

java.lang.Object
org.apache.pdfbox.examples.pdmodel.CreateBookmarks

public final class CreateBookmarks extends Object
This is an example on how to add bookmarks to a PDF document. It simply adds 1 bookmark for every page.
Author:
Ben Litchfield
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      This will print the documents data.
      Parameters:
      args - The command line arguments.
      Throws:
      IOException - If there is an error parsing the document.