Package org.apache.fop.pdf
Class PDFDPart
- java.lang.Object
-
- org.apache.fop.pdf.PDFObject
-
- org.apache.fop.pdf.PDFDictionary
-
- org.apache.fop.pdf.PDFDPart
-
- All Implemented Interfaces:
PDFWritable
public class PDFDPart extends PDFDictionary
-
-
Field Summary
-
Fields inherited from class org.apache.fop.pdf.PDFDictionary
entries, order
-
-
Constructor Summary
Constructors Constructor Description PDFDPart(PDFDictionary parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPage(PDFPage p)
int
output(java.io.OutputStream stream)
Write the PDF represention of this object-
Methods inherited from class org.apache.fop.pdf.PDFDictionary
containsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionary
-
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
-
-
-
Constructor Detail
-
PDFDPart
public PDFDPart(PDFDictionary parent)
-
-
Method Detail
-
addPage
public void addPage(PDFPage p)
-
output
public int output(java.io.OutputStream stream) throws java.io.IOException
Description copied from class:PDFDictionary
Write the PDF represention of this object- Overrides:
output
in classPDFDictionary
- Parameters:
stream
- the stream to write the PDF to- Returns:
- the number of bytes written
- Throws:
java.io.IOException
- if there is an error writing to the stream
-
-