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.
|
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, isPageObject
public 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.PdfException
public List getContentStreams()
public PdfArray getAnnotations() throws PdfException
PdfException
public void startWalk()
public PageObject nextPageObject()
nextPageObject
in class DocNode
public DocNode nextDocNode()
nextDocNode
in class DocNode
public PdfArray getArtBox() throws PdfException
PdfException
public PdfArray getTrimBox() throws PdfException
PdfException
public PdfArray getBleedBox() throws PdfException
PdfException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.