public class PDFCFFStream extends AbstractPDFFontStream
| Constructor and Description |
|---|
PDFCFFStream(String type) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream.
|
protected void |
outputRawStreamData(OutputStream out)
Sends the raw stream data to the target OutputStream.
|
protected void |
populateStreamDict(Object lengthEntry)
Populates the dictionary with all necessary entries for the stream.
|
void |
setData(byte[] data) |
getDefaultFilterNameencodeAndWriteStream, encodeStream, get, getChildren, getDictionary, getFilterList, multipleFiltersAllowed, output, outputStreamData, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterListcontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFStringpublic PDFCFFStream(String type)
protected int getSizeHint()
throws IOException
AbstractPDFStreamgetSizeHint in class AbstractPDFStreamIOException - in case of an I/O problemprotected void outputRawStreamData(OutputStream out) throws IOException
AbstractPDFStreamoutputRawStreamData in class AbstractPDFStreamout - OutputStream to write toIOException - In case of an I/O problemprotected void populateStreamDict(Object lengthEntry)
AbstractPDFStreampopulateStreamDict in class AbstractPDFStreamlengthEntry - value for the /Length entrypublic void setData(byte[] data)
throws IOException
IOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.