Java org.apache.pdfbox.pdmodel PDPage fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel PDPage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel PDPage.

The text is from its open source code.

Constructor

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.

Method

booleanequals(Object other)
PDPageAdditionalActionsgetActions()
Get the page actions.
ListgetAnnotations()
This will return a list of the annotations for this page.
PDRectanglegetArtBox()
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.
PDRectanglegetBBox()
InputStreamgetContents()
Returns the content stream(s) of this page as a single input stream.
IteratorgetContentStreams()
Returns the content streams which make up this page.
COSDictionarygetCOSObject()
Convert this standard java object to a COS object.
PDRectanglegetCropBox()
A rectangle, expressed in default user space units, defining the visible region of default user space.
PDRectanglegetMediaBox()
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.
PDResourcesgetResources()
A dictionary containing any resources required by the page.
intgetRotation()
Returns the rotation angle in degrees by which the page should be rotated clockwise when displayed or printed.
ListgetThreadBeads()
This will get a list of PDThreadBead objects, which are article threads in the document.
PDRectanglegetTrimBox()
A rectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming.
booleanhasContents()
Returns true if this page has one or more content streams.
inthashCode()
voidsetContents(PDStream contents)
This will set the contents of this page.
voidsetContents(List contents)
This will set the contents of this page.
voidsetCropBox(PDRectangle cropBox)
This will set the CropBox for this page.
voidsetMediaBox(PDRectangle mediaBox)
This will set the mediaBox for this page.
voidsetResources(PDResources resources)
This will set the resources for this page.
voidsetRotation(int rotation)
This will set the rotation for this page.