|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.jpdf.PDFObject
gnu.jpdf.PDFCatalog
public class PDFCatalog
This class implements the PDF Catalog, also known as the root node
| Field Summary |
|---|
| Fields inherited from class gnu.jpdf.PDFObject |
|---|
objser, pdfDocument |
| Constructor Summary | |
|---|---|
PDFCatalog(PDFPageList pdfPageList,
int pagemode)
This constructs a PDF Catalog object |
|
| Method Summary | |
|---|---|
protected void |
setOutline(PDFOutline outline)
This sets the root outline object |
void |
write(java.io.OutputStream os)
Writes the object to the output stream. |
| Methods inherited from class gnu.jpdf.PDFObject |
|---|
getPDFDocument, getSerialID, getType, toArray, toString, writeEnd, writeStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
protected void setOutline(PDFOutline outline)
outline - The root outline
public void write(java.io.OutputStream os)
throws java.io.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 to
java.io.IOException - on error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||