Top Description Constructors Methods
org.apache.pdfbox.examples.pdmodel

public final Class GoToSecondBookmarkOnOpen

extends Object
Class Inheritance
Imports
org.apache.pdfbox.Loader, org.apache.pdfbox.pdmodel.PDDocument, org.apache.pdfbox.pdmodel.interactive.action.PDActionGoTo, org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDDocumentOutline, .PDOutlineItem, java.io.File, .IOException

This is an example on how to an action to go to the second page when the PDF is opened.
Author
Ben Litchfield

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[]
The command line arguments.
args
)

This will print the documents data.

private static void
usage()

This will print the usage for this document.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GoToSecondBookmarkOnOpenback to summary
private GoToSecondBookmarkOnOpen()

Method Detail

mainback to summary
public static void main(String[] args) throws IOException

This will print the documents data.

Parameters
args:String[]

The command line arguments.

Exceptions
IOException:
If there is an error parsing the document.
usageback to summary
private static void usage()

This will print the usage for this document.