PDFWritable
public class PDFPages extends PDFObject
Modifier and Type | Field | Description |
---|---|---|
protected int |
count |
the number of /Page objects
|
protected java.util.List |
kids |
the /Page objects
|
Constructor | Description |
---|---|
PDFPages(PDFDocument document) |
create a /Pages object.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF
protected java.util.List kids
protected int count
public PDFPages(PDFDocument document)
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
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.