java.lang .Object org.pdfbox.pdmodel.interactive.documentnavigation.destination .PDDestination org.pdfbox.pdmodel.interactive.documentnavigation.destination .PDPageDestination org.pdfbox.pdmodel.interactive.documentnavigation.destination .PDPageFitHeightDestination PDPageFitHeightDestination public class PDPageFitHeightDestination extends PDPageDestination (Code) This represents a destination to a page at a x location and the height is magnified
to just fit on the screen.
author: Ben Litchfield version: $Revision: 1.2 $
Field Summary final protected static String TYPE The type of this destination.final protected static String TYPE_BOUNDED The type of this destination.
Method Summary public booleanfitBoundingBox () A flag indicating if this page destination should just fit bounding box of the PDF.public intgetLeft () Get the left x coordinate.public voidsetFitBoundingBox (boolean fitBoundingBox) Set if this page destination should just fit the bounding box.public voidsetLeft (int x) Set the left x-coordinate, a value of -1 implies that the current x-coordinate
will be used.
TYPE final protected static String TYPE (Code) The type of this destination.
TYPE_BOUNDED final protected static String TYPE_BOUNDED (Code) The type of this destination.
PDPageFitHeightDestination public PDPageFitHeightDestination()(Code) Default constructor.
PDPageFitHeightDestination public PDPageFitHeightDestination(COSArray arr)(Code) Constructor from an existing destination array.
Parameters: arr - The destination array.
fitBoundingBox public boolean fitBoundingBox()(Code) A flag indicating if this page destination should just fit bounding box of the PDF.
true If the destination should fit just the bounding box.
getLeft public int getLeft()(Code) Get the left x coordinate. A return value of -1 implies that the current x-coordinate
will be used.
The left x coordinate.
setFitBoundingBox public void setFitBoundingBox(boolean fitBoundingBox)(Code) Set if this page destination should just fit the bounding box. The default is false.
Parameters: fitBoundingBox - A flag indicating if this should fit the bounding box.
setLeft public void setLeft(int x)(Code) Set the left x-coordinate, a value of -1 implies that the current x-coordinate
will be used.
Parameters: x - The left x coordinate.
Fields inherited from org.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination protected COSArray array(Code) (Java Doc)