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(Object lengthEntry)
Populates the dictionary with all necessary entries for the stream.
|
encodeAndWriteStream, encodeStream, get, getChildren, getDefaultFilterName, getDictionary, getFilterList, multipleFiltersAllowed, output, outputRawStreamData, outputStreamData, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterList, supportsObjectStream
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
public PDFXObject()
protected PDFXObject(PDFDictionary dictionary)
public PDFName getName()
protected void populateStreamDict(Object lengthEntry)
populateStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entryprotected int getSizeHint() throws IOException
getSizeHint
in class AbstractPDFStream
IOException
- in case of an I/O problemCopyright © 2025 Apache Software Foundation. All rights reserved.