|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.etymon.pjx.util.PdfPageTree
Provides methods for retrieving and modifying the page tree of a PDF document. This class is synchronized.
| Constructor Summary | |
PdfPageTree(PdfManager manager)
Constructs a PdfPageTree instance based on a
specified PdfManager. |
|
| Method Summary | |
int |
getNumberOfPages()
Returns the number of pages in the document. |
PdfReference |
getPage(int pageNumber)
Returns an indirect reference to a page object specified by page number. |
PdfReference |
getRoot()
Returns an indirect reference to the root node of the document's page tree. |
PdfDictionary |
inheritAttributes(PdfDictionary page)
Adds inherited attributes to a specified page dictionary object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PdfPageTree(PdfManager manager)
PdfPageTree instance based on a
specified PdfManager.
| Method Detail |
public PdfReference getPage(int pageNumber)
throws java.io.IOException,
PdfFormatException
inheritAttributes(PdfDictionary) should be used to obtain
inherited attributes.
pageNumber - the page number. The numbering starts
with 0.
java.io.IOException
PdfFormatException
public int getNumberOfPages()
throws java.io.IOException,
PdfFormatException
java.io.IOException
PdfFormatException
public PdfReference getRoot()
throws java.io.IOException,
PdfFormatException
java.io.IOException
PdfFormatException
public PdfDictionary inheritAttributes(PdfDictionary page)
throws java.io.IOException,
PdfFormatException
page - the page dictionary to be filled in with
inherited attributes.
java.io.IOException
PdfFormatException
|
Copyright © 1998-2004 Etymon Systems, Inc. The PDF data structures, operators, and specification are |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||