public class PrintBookmarks extends Object
| Constructor and Description |
|---|
PrintBookmarks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
This will print the documents data.
|
void |
printBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode bookmark,
String indentation)
This will print the documents bookmarks to System.out.
|
public static void main(String[] args) throws Exception
args - The command line arguments.Exception - If there is an error parsing the document.public void printBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode bookmark,
String indentation)
throws IOException
bookmark - The bookmark to print out.indentation - A pretty printing parameterIOException - If there is an error getting the page count.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.