|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.AbstractPDFStream
org.apache.fop.pdf.PDFT1Stream
Special PDFStream for embedding Type 1 fonts.
Field Summary |
Fields inherited from class org.apache.fop.pdf.PDFObject |
DATE_FORMAT, log |
Constructor Summary | |
PDFT1Stream()
|
Method Summary | |
protected java.lang.String |
buildStreamDict(java.lang.String lengthEntry)
Constructs the dictionary for the stream. |
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream. |
protected int |
output(java.io.OutputStream stream)
Overload the base object method so we don't have to copy byte arrays around so much |
protected void |
outputRawStreamData(java.io.OutputStream out)
Sends the raw stream data to the target OutputStream. |
void |
setData(PFBData pfb)
Used to set the PFBData object that represents the embeddable Type 1 font. |
Methods inherited from class org.apache.fop.pdf.AbstractPDFStream |
encodeAndWriteStream, encodeStream, getFilterList, outputStreamData, prepareImplicitFilters, setupFilterList |
Methods inherited from class org.apache.fop.pdf.PDFObject |
encode, encodeString, encodeText, formatDateTime, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, referencePDF, setDocument, setObjectNumber, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFT1Stream()
Method Detail |
protected int getSizeHint() throws java.io.IOException
AbstractPDFStream
getSizeHint
in class AbstractPDFStream
java.io.IOException
- in case of an I/O problemAbstractPDFStream.getSizeHint()
protected int output(java.io.OutputStream stream) throws java.io.IOException
output
in class AbstractPDFStream
java.io.IOException
PDFObject.output(OutputStream)
protected java.lang.String buildStreamDict(java.lang.String lengthEntry)
AbstractPDFStream
buildStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entry
AbstractPDFStream.buildStreamDict(String)
protected void outputRawStreamData(java.io.OutputStream out) throws java.io.IOException
AbstractPDFStream
outputRawStreamData
in class AbstractPDFStream
out
- OutputStream to write to
java.io.IOException
- In case of an I/O problemPDFStream.outputRawStreamData(OutputStream)
public void setData(PFBData pfb) throws java.io.IOException
pfb
- The PFB file
java.io.IOException
- in case of an I/O problem
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |