|
fop 0.92beta | ||||||||||
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.PDFStream
org.apache.fop.pdf.PDFICCStream
Special PDFStream for ICC profiles (color profiles).
Field Summary |
Fields inherited from class org.apache.fop.pdf.PDFStream |
data |
Fields inherited from class org.apache.fop.pdf.PDFObject |
DATE_FORMAT, log |
Constructor Summary | |
PDFICCStream()
|
Method Summary | |
protected java.lang.String |
buildStreamDict(java.lang.String lengthEntry)
Constructs the dictionary for the 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 |
setColorSpace(java.awt.color.ICC_Profile cp,
PDFColorSpace alt)
Sets the color space to encode in PDF. |
Methods inherited from class org.apache.fop.pdf.PDFStream |
add, getDataLength, getSizeHint, setData |
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 PDFICCStream()
PDFObject.PDFObject()
Method Detail |
public void setColorSpace(java.awt.color.ICC_Profile cp, PDFColorSpace alt)
cp
- the ICC profilealt
- the PDF color spaceprotected int output(java.io.OutputStream stream) throws java.io.IOException
output
in class PDFStream
java.io.IOException
PDFObject.output(OutputStream)
protected void outputRawStreamData(java.io.OutputStream out) throws java.io.IOException
AbstractPDFStream
outputRawStreamData
in class PDFStream
java.io.IOException
PDFStream.outputRawStreamData(OutputStream)
protected java.lang.String buildStreamDict(java.lang.String lengthEntry)
AbstractPDFStream
buildStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entry
AbstractPDFStream.buildStreamDict(String)
|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |