|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.jpdf.PDFObject
gnu.jpdf.PDFPageList
public class PDFPageList
This object contains the document's pages.
Field Summary |
---|
Fields inherited from class gnu.jpdf.PDFObject |
---|
objser, pdfDocument |
Constructor Summary | |
---|---|
PDFPageList()
This constructs a PDF Pages object. |
Method Summary | |
---|---|
void |
add(PDFPage page)
This adds a page to the document. |
PDFPage |
getPage(int page)
This returns a specific page. |
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 PDFPageList()
Method Detail |
---|
public void add(PDFPage page)
page
- PDFPage to addpublic PDFPage getPage(int page)
page
- page number to return
public void write(java.io.OutputStream os) throws java.io.IOException
PDFObject
Writes 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 PDFObject
os
- 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 |