Example usage for Java org.apache.pdfbox.pdmodel PDPage fields, constructors, methods, implement or subclass
The text is from its open source code.
PDPage() Creates a new PDPage instance for embedding, with a size of U.S. | |
PDPage(PDRectangle mediaBox) Creates a new instance of PDPage for embedding. | |
PDPage(COSDictionary pageDictionary) Creates a new instance of PDPage for reading. |
boolean | equals(Object other) |
PDPageAdditionalActions | getActions() Get the page actions. |
List | getAnnotations() This will return a list of the annotations for this page. |
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 is the CropBox. |
PDRectangle | getBBox() |
InputStream | getContents() Returns the content stream(s) of this page as a single input stream. |
Iterator | getContentStreams() Returns the content streams which make up this page. |
COSDictionary | getCOSObject() Convert this standard java object to a COS object. |
PDRectangle | getCropBox() A rectangle, expressed in default user space units, defining the visible region of default user space. |
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. |
PDResources | getResources() A dictionary containing any resources required by the page. |
int | getRotation() Returns the rotation angle in degrees by which the page should be rotated clockwise when displayed or printed. |
List | getThreadBeads() This will get a list of PDThreadBead objects, which are article threads in the document. |
PDRectangle | getTrimBox() A rectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming. |
boolean | hasContents() Returns true if this page has one or more content streams. |
int | hashCode() |
void | setContents(PDStream contents) This will set the contents of this page. |
void | setContents(List This will set the contents of this page. |
void | setCropBox(PDRectangle cropBox) This will set the CropBox for this page. |
void | setMediaBox(PDRectangle mediaBox) This will set the mediaBox for this page. |
void | setResources(PDResources resources) This will set the resources for this page. |
void | setRotation(int rotation) This will set the rotation for this page. |