public abstract class PDFXObject extends AbstractPDFStream
Modifier | Constructor and Description |
---|---|
|
PDFXObject()
Create an XObject with the given number.
|
protected |
PDFXObject(PDFDictionary dictionary) |
Modifier and Type | Method and Description |
---|---|
PDFName |
getName()
Returns the XObject's name.
|
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream.
|
protected void |
populateStreamDict(java.lang.Object lengthEntry)
Populates the dictionary with all necessary entries for the stream.
|
encodeAndWriteStream, encodeStream, get, getDefaultFilterName, getDictionary, getFilterList, multipleFiltersAllowed, output, outputRawStreamData, outputStreamData, prepareImplicitFilters, put, setDocument, setupFilterList
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setParent, toPDF, toPDFString
public PDFXObject()
protected PDFXObject(PDFDictionary dictionary)
public PDFName getName()
protected void populateStreamDict(java.lang.Object lengthEntry)
populateStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entryprotected int getSizeHint() throws java.io.IOException
getSizeHint
in class AbstractPDFStream
java.io.IOException
- in case of an I/O problemCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.