|
fop 0.94 | |||||||||
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.AbstractPDFStream
org.apache.fop.pdf.PDFXObject
org.apache.fop.pdf.PDFFormXObject
public class PDFFormXObject
PDF Form XObject A derivative of the PDFXObject, is a PDF Stream that has not only a dictionary but a stream of image data.
Field Summary |
---|
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
DATE_FORMAT, log |
Constructor Summary | |
---|---|
PDFFormXObject(int xnumber,
PDFStream cont,
java.lang.String ref)
create a FormXObject with the given number and name and load the image in the object |
Method Summary | |
---|---|
protected int |
output(java.io.OutputStream stream)
Output the form stream as PDF. |
protected void |
outputRawStreamData(java.io.OutputStream out)
Sends the raw stream data to the target OutputStream. |
Methods inherited from class org.apache.fop.pdf.PDFXObject |
---|
buildStreamDict, getSizeHint, getXNumber, prepareImplicitFilters, setupFilterList |
Methods inherited from class org.apache.fop.pdf.AbstractPDFStream |
---|
encodeAndWriteStream, encodeStream, getFilterList, outputStreamData |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFFormXObject(int xnumber, PDFStream cont, java.lang.String ref)
xnumber
- the pdf object X numbercont
- the pdf stream contentsref
- the resource PDF referenceMethod Detail |
---|
protected int output(java.io.OutputStream stream) throws java.io.IOException
output
in class PDFXObject
stream
- the output stream to write the data
java.io.IOException
- if there is an error writing the dataPDFObject.output(OutputStream)
protected void outputRawStreamData(java.io.OutputStream out) throws java.io.IOException
AbstractPDFStream
outputRawStreamData
in class PDFXObject
out
- OutputStream to write to
java.io.IOException
- In case of an I/O problemPDFStream.outputRawStreamData(OutputStream)
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |