public class PageObject extends DocNode
_dict, _module, _pageObjectFlag, _parent, _walkFinished| Constructor and Description |
|---|
PageObject(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PdfArray |
getAnnotations()
Return the page's Annots array of dictionaries, or null if none
|
PdfArray |
getArtBox()
Returns the ArtBox for the page, or null if none.
|
PdfArray |
getBleedBox()
Returns the BleedBox for the page, or null if none.
|
java.util.List |
getContentStreams()
Returns the List of content streams.
|
PdfArray |
getTrimBox()
Returns the TrimBox for the page, or null if none.
|
void |
loadContent(PdfModule module)
Find the content stream(s) for this page.
|
DocNode |
nextDocNode()
Called to walk through all page tree nodes and page objects.
|
PageObject |
nextPageObject()
Returns this object the first time it is called after startWalk
is called, then null when called again.
|
void |
startWalk()
Call this function when recursively walking through a document
tree.
|
get, getDict, getFontResources, getMediaBox, getParent, getResources, isPageObjectpublic PageObject(PdfModule module, PageTreeNode parent, PdfDictionary dict)
module - The module under which we're operatingparent - The parent node in the document tree;
may be null only for the root nodedict - The dictionary object on which this node
is basedpublic void loadContent(PdfModule module) throws PdfException
getContentStreams may
subsequently be called to get the content.PdfExceptionpublic java.util.List getContentStreams()
public PdfArray getAnnotations() throws PdfException
PdfExceptionpublic void startWalk()
public PageObject nextPageObject()
nextPageObject in class DocNodepublic DocNode nextDocNode()
nextDocNode in class DocNodepublic PdfArray getArtBox() throws PdfException
PdfExceptionpublic PdfArray getTrimBox() throws PdfException
PdfExceptionpublic PdfArray getBleedBox() throws PdfException
PdfException