|
||||||||||
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.PDFPages
public class PDFPages
class representing a /Pages object. A /Pages object is an ordered collection of pages (/Page objects) (Actually, /Pages can contain further /Pages as well but this implementation doesn't allow this)
Field Summary | |
---|---|
protected int |
count
the number of /Page objects |
protected ArrayList |
kids
the /Page objects |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
generation, number |
Constructor Summary | |
---|---|
PDFPages(int number)
create a /Pages object. |
Method Summary | |
---|---|
void |
addPage(PDFPage page)
add a /Page object. |
int |
getCount()
get the count of /Page objects |
void |
incrementCount()
increment the count of /Page objects |
byte[] |
toPDF()
represent the object in 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 ArrayList kids
protected int count
Constructor Detail |
---|
public PDFPages(int number)
number
- the object's numberMethod Detail |
---|
public void addPage(PDFPage page)
page
- the PDFPage to add.public int getCount()
public void incrementCount()
public byte[] toPDF()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |