Class GoToEAction.GoToETarget
java.lang.Object
org.openpdf.renderer.action.GoToEAction.GoToETarget
- Enclosing class:
GoToEAction
Inner class for holding the target dictionary's information
- Since:
- 07.07.2009
- Version:
- $Id: GoToEAction.java,v 1.1 2009-07-10 12:47:31 xond Exp $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate Stringprivate GoToEAction.GoToETarget -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe index of the according annotation in the annotations arrayThe file name in the embedded files treePage Number: If the value can be parsed as Integer, it specifies the page number in the current document containing the file attachment annotation.Relation between current document and the target.A target dictionary specifying additional target information.voidsetAnnotNo(String annotNo) The index of the according annotation in the annotations arrayvoidsetNameInTree(String nameInTree) The file name in the embedded files treevoidPage Number: If the value can be parsed as Integer, it specifies the page number in the current document containing the file attachment annotation.voidsetRelation(String relation) Relation between current document and the target.voidsetTargetDictionary(GoToEAction.GoToETarget targetDictionary) A target dictionary specifying additional target information.
-
Field Details
-
relation
-
nameInTree
-
pageNo
-
annotNo
-
targetDictionary
-
-
Constructor Details
-
GoToETarget
public GoToETarget()
-
-
Method Details
-
getRelation
Relation between current document and the target. Can either be "P" or "C"- Returns:
- String
-
setRelation
Relation between current document and the target. Can either be "P" or "C"- Parameters:
relation-
-
getNameInTree
-
setNameInTree
The file name in the embedded files tree- Parameters:
nameInTree-
-
getPageNo
Page Number: If the value can be parsed as Integer, it specifies the page number in the current document containing the file attachment annotation. If the value is a string, it defines a named destination in the current document that provides the page number of the file attachment annotation.- Returns:
- String
-
setPageNo
Page Number: If the value can be parsed as Integer, it specifies the page number in the current document containing the file attachment annotation. If the value is a string, it defines a named destination in the current document that provides the page number of the file attachment annotation.- Parameters:
pageNo-
-
getAnnotNo
The index of the according annotation in the annotations array- Returns:
- String
-
setAnnotNo
The index of the according annotation in the annotations array- Parameters:
annotNo-
-
getTargetDictionary
A target dictionary specifying additional target information. If missing, the current document is the target file containing the destination.- Returns:
- GoToETarget
-
setTargetDictionary
A target dictionary specifying additional target information. If missing, the current document is the target file containing the destination.- Parameters:
targetDictionary-
-
equals
-