fop 0.95beta | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
public class PDFMetadata
extends PDFStream
Field Summary |
Fields inherited from class org.apache.fop.pdf.PDFDictionary | |
entries , order |
Fields inherited from class org.apache.fop.pdf.PDFObject | |
DATE_FORMAT , log |
Constructor Summary | |
|
Method Summary | |
static Metadata |
|
Metadata | |
protected int |
|
protected void |
|
protected void |
|
protected void | |
static void |
|
Methods inherited from class org.apache.fop.pdf.PDFStream | |
add , getBufferOutputStream , getDataLength , getSizeHint , output , outputRawStreamData , setData |
Methods inherited from class org.apache.fop.pdf.AbstractPDFStream | |
encodeAndWriteStream , encodeStream , getFilterList , getSizeHint , output , outputRawStreamData , outputStreamData , populateStreamDict , prepareImplicitFilters , setupFilterList |
Methods inherited from class org.apache.fop.pdf.PDFDictionary | |
get , output , put , put , writeDictionary |
Methods inherited from class org.apache.fop.pdf.PDFObject | |
encode , encodeBinaryToHexString , encodeString , encodeText , formatDateTime , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , getParent , hasObjectNumber , makeReference , output , outputInline , referencePDF , setDocument , setObjectNumber , setParent , toPDF , toPDFString |
public static Metadata createXMPFromPDFDocument(PDFDocument pdfDoc)
Creates an XMP document based on the settings on the PDF Document.
- Parameters:
pdfDoc
- the PDF Document
- Returns:
- the requested XMP metadata
public Metadata getMetadata()
- Returns:
- the XMP metadata
protected int output(java.io.OutputStream stream) throws java.io.IOException
overload the base object method so we don't have to copy byte arrays around so much
protected void outputRawStreamData(OutputStream out) throws IOException
- Overrides:
- outputRawStreamData in interface PDFStream
protected void populateStreamDict(Object lengthEntry)
- Overrides:
- populateStreamDict in interface AbstractPDFStream
protected void setupFilterList()
- Overrides:
- setupFilterList in interface AbstractPDFStream
public static void updateInfoFromMetadata(Metadata meta, PDFInfo info)
Updates the values in the Info object from the XMP metadata according to the rules defined in PDF/A-1 (ISO 19005-1:2005)
- Parameters:
meta
- the metadatainfo
- the Info object
fop 0.95beta |