public class PDFT1Stream extends AbstractPDFFontStream
| Constructor and Description |
|---|
PDFT1Stream() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream.
|
int |
output(OutputStream stream)
Overload the base object method so we don't have to copy
byte arrays around so much
Overload the base object method so we don't have to copy
byte arrays around so much
Write the PDF represention of this object
|
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(PFBData pfb)
Used to set the PFBData object that represents the embeddable Type 1
font.
|
getDefaultFilterNameencodeAndWriteStream, encodeStream, get, getChildren, getDictionary, getFilterList, multipleFiltersAllowed, 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, toPDFStringprotected int getSizeHint()
throws IOException
getSizeHint in class AbstractPDFStreamIOException - in case of an I/O problempublic int output(OutputStream stream) throws IOException
output in class AbstractPDFStreamstream - the stream to write the PDF toIOException - if there is an error writing to the streamprotected void populateStreamDict(Object lengthEntry)
populateStreamDict in class AbstractPDFStreamlengthEntry - value for the /Length entryprotected void outputRawStreamData(OutputStream out) throws IOException
outputRawStreamData in class AbstractPDFStreamout - OutputStream to write toIOException - In case of an I/O problempublic void setData(PFBData pfb) throws IOException
pfb - The PFB fileIOException - in case of an I/O problemCopyright © 2023 Apache Software Foundation. All rights reserved.