|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icesoft.pdf.pobjects.Dictionary
com.icesoft.pdf.pobjects.Catalog
The Catalog object represents the root of a PDF document's
object heirarchy. The Catalog is located by means of the
Root entry in the trailer of the PDF file. The catalog contains
references to other objects defining the document's contents, outline, names,
destinations, and other attributes.
The Catalog class can be accessed from the Document
class for convenience, but can also be accessed via the PTrailer class.
Useful information about the document can be extracted from the Catalog
Dictionary, such as PDF version information and Viewer Preferences. All
Catalog dictionary properties can be accesed via the getEntries method.
See section 3.6.1 of the PDF Reference version 1.6 for more information on
the properties available in the Catalog Object.
| Field Summary | |
static String |
VERSION
The version number of ICEpdf rendering core. |
| Fields inherited from class com.icesoft.pdf.pobjects.Dictionary |
entries, inited, library |
| Constructor Summary | |
Catalog(Library l,
Hashtable h)
Creates a new instance of a Catalog. |
|
| Method Summary | |
void |
dispose(boolean cache)
Dispose the Catalog. |
Dictionary |
getDestinations()
Gets a dictionary of names and corresponding destinations. |
NameTree |
getNameTree()
Gets the document's Names dictionary. |
Outlines |
getOutlines()
Gets the Outlines Dictionary that is the root of the document's outline hierarchy. |
PageTree |
getPageTree()
Gets PageTree node that is the root of the document's page tree. |
void |
init()
Initiate the PageTree. |
String |
toString()
Returns a summary of the Catalog dictionary values. |
| Methods inherited from class com.icesoft.pdf.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, setPObjectReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String VERSION
| Constructor Detail |
public Catalog(Library l,
Hashtable h)
l - document library.h - Catalog dictionary entries.| Method Detail |
public void init()
init in class Dictionarypublic void dispose(boolean cache)
cache - if true, cached files are removed, otherwise objects are freed
but object caches are left intact.public PageTree getPageTree()
Pagepublic Outlines getOutlines()
OutlineItempublic NameTree getNameTree()
public Dictionary getDestinations()
public String toString()
toString in class Dictionary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||