|
fop 1.0 | |||||||||
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 java.util.List |
kids
the /Page objects |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
DATE_FORMAT, log |
Constructor Summary | |
---|---|
PDFPages(int objnum)
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 |
void |
notifyKidRegistered(PDFPage page)
Use this method to notify the PDFPages object that a child page |
java.lang.String |
toPDFString()
This method returns a String representation of the PDF object. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List kids
protected int count
Constructor Detail |
---|
public PDFPages(int objnum)
objnum
- the object's numberMethod Detail |
---|
public void addPage(PDFPage page)
page
- the PDFPage to add.public void notifyKidRegistered(PDFPage page)
page
- the child pagepublic int getCount()
public void incrementCount()
public java.lang.String toPDFString()
toPDFString
in class PDFObject
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |