|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFRoot
class representing a Root (/Catalog) object
| Field Summary | |
protected PDFPages |
rootPages
the /Pages object that is root of the Pages hierarchy |
| Fields inherited from class org.apache.fop.pdf.PDFObject |
generation, number |
| Constructor Summary | |
PDFRoot(int number,
PDFPages pages)
create a Root (/Catalog) object. |
|
| Method Summary | |
void |
addPage(PDFPage page)
add a /Page object to the root /Pages object |
java.util.Collection |
getDestinations()
|
PDFOutline |
getRootOutline()
|
void |
setRootOutline(PDFOutline outline)
|
void |
setRootPages(PDFPages pages)
set the root /Pages object |
byte[] |
toPDF()
represent the object as PDF. |
| Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, output, referencePDF |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected PDFPages rootPages
| Constructor Detail |
public PDFRoot(int number,
PDFPages pages)
number - the object's number| Method Detail |
public void addPage(PDFPage page)
page - the /Page object to addpublic void setRootPages(PDFPages pages)
pages - the /Pages object to set as rootpublic void setRootOutline(PDFOutline outline)
public PDFOutline getRootOutline()
public java.util.Collection getDestinations()
public byte[] toPDF()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the setNumber() method has
not been called.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||