com.etymon.pjx.util
Class PdfCatalog

java.lang.Object
  extended by com.etymon.pjx.util.PdfCatalog

public class PdfCatalog
extends java.lang.Object

Provides methods related to a PDF document's catalog dictionary.


Field Summary
protected  PdfManager _m
          The manager associated with this document.
protected static PdfName PDFNAME_ROOT
          A PdfName object representing the name Root.
 
Constructor Summary
PdfCatalog(PdfManager manager)
          Constructs a PdfCatalog instance based on a specified PdfManager.
 
Method Summary
 PdfReference getCatalog()
          Retrieves an indirect reference to the document's catalog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDFNAME_ROOT

protected static final PdfName PDFNAME_ROOT
A PdfName object representing the name Root.


_m

protected PdfManager _m
The manager associated with this document.

Constructor Detail

PdfCatalog

public PdfCatalog(PdfManager manager)
Constructs a PdfCatalog instance based on a specified PdfManager.

Method Detail

getCatalog

public PdfReference getCatalog()
                        throws PdfFormatException
Retrieves an indirect reference to the document's catalog.

Returns:
the indirect reference.
Throws:
PdfFormatException