Class GoToRAction
java.lang.Object
org.openpdf.renderer.action.PDFAction
org.openpdf.renderer.action.GoToRAction
Action directing to a location within another PDF document
- Since:
- 07.07.2009
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PDFDestinationthe destination within the remote PDF fileprivate Stringthe remote file this action refers toprivate booleanShould the remote file be opened in a new window? (optional) -
Constructor Summary
ConstructorsConstructorDescriptionGoToRAction(PDFDestination dest, String file, boolean newWindow) Create a new GoToRAction from the given attributesGoToRAction(PDFObject obj, PDFObject root) Creates a new instance of GoToRAction from an object -
Method Summary
Modifier and TypeMethodDescriptionGet the destination this action refers togetFile()Get the file this action refers tobooleanShould the remote file be opened in a new window?
-
Field Details
-
destination
the destination within the remote PDF file -
file
the remote file this action refers to -
newWindow
private boolean newWindowShould the remote file be opened in a new window? (optional)
-
-
Constructor Details
-
GoToRAction
Creates a new instance of GoToRAction from an object- Parameters:
obj- the PDFObject with the action information- Throws:
IOException- - in case the action can not be parsed
-
GoToRAction
Create a new GoToRAction from the given attributes- Parameters:
dest-file-newWindow-
-
-
Method Details
-
getDestination
Get the destination this action refers to- Returns:
- PDFDestination
-
getFile
-
isNewWindow
public boolean isNewWindow()Should the remote file be opened in a new window?- Returns:
- boolean
-