Method Summary |
|
public BufferedImage | convertToImage() Convert this page to an output image. |
public boolean | equals(Object other) |
public PDRectangle | findCropBox() This will find the CropBox for this page by looking up the hierarchy until
it finds them. |
public PDRectangle | findMediaBox() This will find the MediaBox for this page by looking up the hierarchy until
it finds them. |
public PDResources | findResources() This will find the resources for this page by looking up the hierarchy until
it finds them. |
public int | findRotation() This will find the rotation for this page by looking up the hierarchy until
it finds them. |
public PDPageAdditionalActions | getActions() Get the page actions. |
public List | getAnnotations() This will return a list of the Annotations for this page. |
public PDRectangle | getArtBox() A rectangle, expressed in default user space units, defining
the extent of the page's meaningful content (including potential
white space) as intended by the page's creator The default isthe CropBox. |
public PDRectangle | getBleedBox() A rectangle, expressed in default user space units, defining
the region to which the contents of the page should be clipped
when output in a production environment. |
public COSDictionary | getCOSDictionary() This will get the underlying dictionary that this class acts on. |
public COSBase | getCOSObject() Convert this standard java object to a COS object. |
public PDStream | getContents() This will get the contents of the PDF Page, in the case that the contents
of the page is an array then then the entire array of streams will be
be wrapped and appear as a single stream. |
public PDRectangle | getCropBox() A rectangle, expressed in default user space units,
defining the visible region of default user space. |
public Calendar | getLastModified() This will get the date that the content stream was last modified. |
public PDRectangle | getMediaBox() A rectangle, expressed
in default user space units, defining the boundaries of the physical
medium on which the page is intended to be displayed or printed
This will get the MediaBox at this page and not look up the hierarchy. |
public PDMetadata | getMetadata() Get the metadata that is part of the document catalog. |
public PDPageNode | getParent() This is the parent page node. |
public PDResources | getResources() This will get the resources at this page and not look up the hierarchy. |
public Integer | getRotation() A value representing the rotation. |
public List | getThreadBeads() This will get a list of PDThreadBead objects, which are article threads in the
document. |
public PDRectangle | getTrimBox() A rectangle, expressed in default user space units, defining
the intended dimensions of the finished page after trimming. |
public int | hashCode() |
public int | print(Graphics graphics, PageFormat pageFormat, int pageIndex) |
public void | setActions(PDPageAdditionalActions actions) Set the page actions. |
public void | setAnnotations(List annots) This will set the list of annotations.
Parameters: annots - The new list of annotations. |
public void | setArtBox(PDRectangle artBox) This will set the ArtBox for this page. |
public void | setBleedBox(PDRectangle bleedBox) This will set the BleedBox for this page. |
public void | setContents(PDStream contents) This will set the contents of this page. |
public void | setCropBox(PDRectangle cropBox) This will set the CropBox for this page. |
public void | setMediaBox(PDRectangle mediaBox) This will set the mediaBox for this page. |
public void | setMetadata(PDMetadata meta) Set the metadata for this object. |
public void | setParent(PDPageNode parent) This will set the parent of this page. |
public void | setResources(PDResources resources) This will set the resources for this page. |
public void | setRotation(int rotation) This will set the rotation for this page. |
public void | setThreadBeads(List beads) This will set the list of thread beads. |
public void | setTrimBox(PDRectangle trimBox) This will set the TrimBox for this page. |
public void | updateLastModified() This will update the last modified time for the page object. |