Package com.itextpdf.forms.xfdf
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 )
-
Constructor Summary
-
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.
-
Constructor Details
-
DestObject
public DestObject()
-
-
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
DestObject
instance.
-
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
FitObject
that 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
- aFitObject
that represents XYZ of Dest element. - Returns:
-
this
DestObject
instance.
-
getFit
Gets 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.- Returns:
-
a
FitObject
that represents Fit of Dest element.
-
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
- aFitObject
that represents Fit of Dest element. - Returns:
-
this
DestObject
instance.
-
getFitH
Gets 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.- Returns:
-
a
FitObject
that represents FitH of Dest element.
-
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
- aFitObject
that represents FitH of Dest element. - Returns:
-
this
DestObject
instance.
-
getFitV
Gets 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.- Returns:
-
a
FitObject
that represents FitV of Dest element.
-
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
- aFitObject
that represents FitV of Dest element. - Returns:
-
this
DestObject
instance.
-
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
FitObject
that 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
- aFitObject
that represents FitR of Dest element. - Returns:
-
this
DestObject
instance.
-
getFitB
Sets 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.- Returns:
-
a
FitObject
that represents FitB of Dest element.
-
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
- aFitObject
that represents FitB of Dest element. - Returns:
-
this
DestObject
instance.
-
getFitBH
Sets 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.- Returns:
-
a
FitObject
that represents FitBH of Dest element.
-
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
- aFitObject
that represents FitBH of Dest element. - Returns:
-
this
DestObject
instance.
-
getFitBV
Sets 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.- Returns:
-
a
FitObject
that represents FitBV of Dest element.
-
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
- aFitObject
that represents FitBV of Dest element. - Returns:
-
this
DestObject
instance.
-