|
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.PDFMetadata
Special PDFStream for Metadata.
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 | |
PDFMetadata(org.w3c.dom.Document xmp,
boolean readOnly)
|
Method Summary | |
protected boolean |
allowEncryption()
|
protected java.lang.String |
buildStreamDict(java.lang.String lengthEntry)
Constructs the dictionary for the stream. |
static org.w3c.dom.Document |
createXMPFromUserAgent(PDFDocument pdfDoc)
Creates an XMP document based on the settings on the PDF Document. |
static java.lang.String |
formatISO8601Date(java.util.Date dt)
Formats a Date using ISO 8601 format in the default time zone. |
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. |
protected void |
setupFilterList()
Sets up the default filters for this stream if they haven't been set from outside. |
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 |
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 PDFMetadata(org.w3c.dom.Document xmp, boolean readOnly)
PDFObject.PDFObject()
Method Detail |
protected void setupFilterList()
AbstractPDFStream
setupFilterList
in class AbstractPDFStream
AbstractPDFStream.setupFilterList()
protected boolean allowEncryption()
org.apache.fop.pdf.AbstractPDFStream#allowEncryption()
protected 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
AbstractPDFStream.outputRawStreamData(java.io.OutputStream)
protected java.lang.String buildStreamDict(java.lang.String lengthEntry)
AbstractPDFStream
buildStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entry
AbstractPDFStream.buildStreamDict(String)
public static java.lang.String formatISO8601Date(java.util.Date dt)
dt
- the date
public static org.w3c.dom.Document createXMPFromUserAgent(PDFDocument pdfDoc)
pdfDoc
- the PDF Document
|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |