org.apache.fop.pdf
Class PDFFormXObject
- PDFWritable
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.
PDFFormXObject(int xnumber, PDFStream cont, String ref)- create a FormXObject with the given number and name and load the
image in the object
|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString |
PDFFormXObject
public PDFFormXObject(int xnumber,
PDFStream cont,
String ref) create a FormXObject with the given number and name and load the
image in the object
xnumber - the pdf object X numbercont - the pdf stream contentsref - the resource PDF reference
output
protected int output(OutputStream stream)
throws IOException Output the form stream as PDF.
This sets up the form XObject dictionary and adds the content
data stream.
- output in interface PDFXObject
stream - the output stream to write the data
- the length of the data written
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.