|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.pdf.DocNode
edu.harvard.hul.ois.jhove.module.pdf.PageObject
public class PageObject
Class encapsulating a PDF page object node.
Field Summary |
---|
Fields inherited from class edu.harvard.hul.ois.jhove.module.pdf.DocNode |
---|
_dict, _module, _pageObjectFlag, _parent, _walkFinished |
Constructor Summary | |
---|---|
PageObject(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class edu.harvard.hul.ois.jhove.module.pdf.DocNode |
---|
get, getDict, getFontResources, getMediaBox, getParent, getResources, isPageObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 basedMethod Detail |
---|
public void loadContent(PdfModule module) throws PdfException
getContentStreams
may
subsequently be called to get the content.
PdfException
public java.util.List getContentStreams()
public PdfArray getAnnotations() throws PdfException
PdfException
public void startWalk()
startWalk
in class DocNode
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |