Class DestObject
java.lang.Object
com.itextpdf.forms.xfdf.DestObject
Represents Dest element, a child of the link, GoTo, and GoToR elements.
Corresponds to the Dest key in the link annotations dictionary.
For more details see paragraph 6.5.10 in XFDF document specification.
Content model: ( Named | XYZ | Fit | FitH | FitV | FitR | FitB | FitBH | FitBV )
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FitObjectRepresents the Fit element, a child of the Dest element.private FitObjectRepresents the FitB element, a child of the Dest element.private FitObjectRepresents the FitBH element, a child of the Dest element.private FitObjectRepresents the FitBV element, a child of the Dest element.private FitObjectRepresents the FitH element, a child of the Dest element.private FitObjectRepresents the FitR element, a child of the Dest element.private FitObjectRepresents the FitV element, a child of the Dest element.private StringRepresents Name attribute of Named element, a child of Dest element.private FitObjectRepresents the XYZ element, a child of the Dest element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFit()Gets the Fit element, a child of the Dest element.getFitB()Sets the FitB element, a child of the Dest element.getFitBH()Sets the FitBH element, a child of the Dest element.getFitBV()Sets the FitBV element, a child of the Dest element.getFitH()Gets the FitH element, a child of the Dest element.getFitR()Gets the FitR element, a child of the Dest element.getFitV()Gets the FitV element, a child of the Dest element.getName()Gets the Name attribute of Named element, a child of Dest element.getXyz()Gets the XYZ element, a child of the Dest element.Sets the Fit element, a child of the Dest element.Gets the FitB element, a child of the Dest element.Gets the FitBH element, a child of the Dest element.Sets the FitBV element, a child of the Dest element.Sets the FitH element, a child of the Dest element.Sets the FitR element, a child of the Dest element.Sets the FitV element, a child of the Dest element.Sets the Name attribute of Named element, a child of Dest element.Sets the XYZ element, a child of the Dest element.
-
Field Details
-
name
Represents Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string. For more details see paragraph 6.5.25 in XFDF document specification. -
xyz
Represents the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.32 in XFDF document specification. -
fit
Represents the Fit element, a child of the Dest element. Corresponds to the Fit key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.13 in XFDF document specification. -
fitH
Represents the FitH element, a child of the Dest element. Corresponds to the FitH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.17 in XFDF document specification. -
fitV
Represents the FitV element, a child of the Dest element. Corresponds to the FitV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.19 in XFDF document specification. -
fitR
Represents the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.18 in XFDF document specification. -
fitB
Represents the FitB element, a child of the Dest element. Corresponds to the FitB key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.14 in XFDF document specification. -
fitBH
Represents the FitBH element, a child of the Dest element. Corresponds to the FitBH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.15 in XFDF document specification. -
fitBV
Represents the FitBV element, a child of the Dest element. Corresponds to the FitBV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.16 in XFDF document specification.
-
-
Constructor Details
-
DestObject
public DestObject()Creates an instance ofDestObject.
-
-
Method Details
-
getName
Gets the Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string. For more details see paragraph 6.5.25 in XFDF document specification.- Returns:
- string value of the Name attribute.
-
setName
Sets the Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string.- Parameters:
name- string value of the Name attribute- Returns:
- this
DestObjectinstance.
-
getXyz
Gets the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.32 in XFDF document specification.- Returns:
- a
FitObjectthat represents XYZ of Dest element.
-
setXyz
Sets the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top.- Parameters:
xyz- aFitObjectthat represents XYZ of Dest element- Returns:
- this
DestObjectinstance.
-
getFit
-
setFit
Sets the Fit element, a child of the Dest element. Corresponds to the Fit key in the destination syntax. Required attributes: Page.- Parameters:
fit- aFitObjectthat represents Fit of Dest element- Returns:
- this
DestObjectinstance.
-
getFitH
-
setFitH
Sets the FitH element, a child of the Dest element. Corresponds to the FitH key in the destination syntax. Required attributes: Page, Top.- Parameters:
fitH- aFitObjectthat represents FitH of Dest element- Returns:
- this
DestObjectinstance.
-
getFitV
-
setFitV
Sets the FitV element, a child of the Dest element. Corresponds to the FitV key in the destination syntax. Required attributes: Page, Left.- Parameters:
fitV- aFitObjectthat represents FitV of Dest element- Returns:
- this
DestObjectinstance.
-
getFitR
Gets the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.18 in XFDF document specification.- Returns:
- a
FitObjectthat represents FitR of Dest element.
-
setFitR
Sets the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top.- Parameters:
fitR- aFitObjectthat represents FitR of Dest element- Returns:
- this
DestObjectinstance.
-
getFitB
-
setFitB
Gets the FitB element, a child of the Dest element. Corresponds to the FitB key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.14 in XFDF document specification.- Parameters:
fitB- aFitObjectthat represents FitB of Dest element- Returns:
- this
DestObjectinstance.
-
getFitBH
-
setFitBH
Gets the FitBH element, a child of the Dest element. Corresponds to the FitBH key in the destination syntax. Required attributes: Page, Top.- Parameters:
fitBH- aFitObjectthat represents FitBH of Dest element- Returns:
- this
DestObjectinstance.
-
getFitBV
-
setFitBV
Sets the FitBV element, a child of the Dest element. Corresponds to the FitBV key in the destination syntax. Required attributes: Page, Left.- Parameters:
fitBV- aFitObjectthat represents FitBV of Dest element- Returns:
- this
DestObjectinstance.
-