public class PDFCatalog extends PDFObject
This class implements the PDF Catalog, also known as the root node
| Constructor and Description | 
|---|
| PDFCatalog(PDFPageList pdfPageList,
          int pagemode)This constructs a PDF Catalog object | 
| Modifier and Type | Method and Description | 
|---|---|
| void | write(OutputStream os)
 Writes the object to the output stream. | 
getGeneration, getName, getPDFDocument, getSerialID, getType, setName, toArray, toString, writeEnd, writeStartpublic PDFCatalog(PDFPageList pdfPageList, int pagemode)
pdfPageList - The PDFPageList object that's the root of the documents page treepagemode - How the document should appear when opened. Allowed values are USENONE, USEOUTLINES, USETHUMBS or
            FULLSCREEN.public void write(OutputStream os) throws IOException
PDFObjectWrites the object to the output stream. This method must be overidden.
Note: It should not write any other objects, even if they are it's Kids, as they will be written by the calling routine.
write in class PDFObjectos - OutputStream to send the object toIOException - on error