PDFWritable
PDFFormXObject
, PDFImageXObject
public abstract class PDFXObject extends AbstractPDFStream
Modifier | Constructor | Description |
---|---|---|
|
PDFXObject() |
Create an XObject with the given number.
|
protected |
PDFXObject(PDFDictionary dictionary) |
Modifier and Type | Method | 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, getChildren, getDefaultFilterName, getDictionary, getFilterList, multipleFiltersAllowed, output, outputRawStreamData, outputStreamData, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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(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-2016 The Apache Software Foundation. All Rights Reserved.