public class PageTreeNode extends DocNode
_dict, _module, _pageObjectFlag, _parent, _walkFinished
Constructor and Description |
---|
PageTreeNode(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
buildSubtree(boolean toplevel,
int recGuard)
Builds the subtree of descendants of this node, using
the Kids entry in the dictionary.
|
void |
buildSubtree(boolean toplevel,
int recGuard,
int objNumber,
int genNumber)
Builds the subtree of descendants of this node, using
the Kids entry in the dictionary.
|
DocNode |
nextDocNode()
Get the next DocNode which is under this node.
|
PageObject |
nextPageObject()
Get the next PageObject which is under this node.
|
void |
startWalk()
Initialize an iterator through the descendants of this node.
|
get, getDict, getFontResources, getMediaBox, getParent, getResources, isPageObject
public PageTreeNode(PdfModule module, PageTreeNode parent, PdfDictionary dict)
module
- The PDFModule 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 buildSubtree(boolean toplevel, int recGuard) throws PdfException
PdfException
public void buildSubtree(boolean toplevel, int recGuard, int objNumber, int genNumber) throws PdfException
PdfException
public void startWalk()
public PageObject nextPageObject() throws PdfMalformedException
nextPageObject
in class DocNode
PdfMalformedException
public DocNode nextDocNode() throws PdfMalformedException
nextDocNode
in class DocNode
PdfMalformedException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.