|
fop 1.0 | ||||||||||
| 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.PDFDictionary
org.apache.fop.pdf.AbstractPDFStream
org.apache.fop.pdf.PDFXObject
Abstract base class of PDF XObjects. A derivative of the PDF Object, is a PDF Stream that has not only a dictionary but a stream of image data. The dictionary just provides information like the stream length. This outputs the image dictionary and the image data. This is used as a reference for inserting the same image in the document in another place.
| Field Summary |
| Fields inherited from class org.apache.fop.pdf.PDFDictionary |
entries, order |
| Fields inherited from class org.apache.fop.pdf.PDFObject |
DATE_FORMAT, log |
| Constructor Summary | |
PDFXObject()
Create an XObject with the given number. |
|
| Method Summary | |
PDFName |
getName()
Returns the XObject's name. |
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream. This is used to optimize buffer allocation so fewer buffer reallocations are necessary. |
protected void |
populateStreamDict(java.lang.Object lengthEntry)
Populates the dictionary with all necessary entries for the stream. Override this method if you need additional entries. |
| Methods inherited from class org.apache.fop.pdf.AbstractPDFStream |
encodeAndWriteStream, encodeStream, getDefaultFilterName, getFilterList, output, outputRawStreamData, outputStreamData, prepareImplicitFilters, setupFilterList |
| Methods inherited from class org.apache.fop.pdf.PDFDictionary |
get, put, put, writeDictionary |
| Methods inherited from class org.apache.fop.pdf.PDFObject |
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDFXObject()
| Method Detail |
public PDFName getName()
protected void populateStreamDict(java.lang.Object lengthEntry)
populateStreamDict in class AbstractPDFStreamlengthEntry - value for the /Length entry
protected int getSizeHint()
throws java.io.IOException
getSizeHint in class AbstractPDFStreamjava.io.IOException - in case of an I/O problem
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||