Package com.itextpdf.text.xml.xmp
Class PdfAXmpWriter
java.lang.Object
com.itextpdf.text.xml.xmp.XmpWriter
com.itextpdf.text.xml.xmp.PdfAXmpWriter
Subclass of XmpWriter that adds info about the PDF/A level.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private PdfWriter
static final String
static final String
static final String
private static final String
static final String
static final String
Fields inherited from class com.itextpdf.text.xml.xmp.XmpWriter
outputStream, serializeOptions, UTF16, UTF16BE, UTF16LE, UTF8, xmpMeta
-
Constructor Summary
ConstructorsConstructorDescriptionPdfAXmpWriter
(OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter
(OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter
(OutputStream os, Map<String, String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addRdfDescription
(PdfAConformanceLevel conformanceLevel) Adds information about the PDF/A conformance level to the XMP metadata.private String
getZugferdExtension
(PdfAConformanceLevel conformanceLevel) Methods inherited from class com.itextpdf.text.xml.xmp.XmpWriter
addDocInfoProperty, addRdfDescription, addRdfDescription, appendAlternateArrayItem, appendArrayItem, appendOrderedArrayItem, close, getXmpMeta, serialize, setAbout, setProperty, setReadOnly
-
Field Details
-
pdfUaExtension
- See Also:
-
zugferdExtension
- See Also:
-
writer
-
zugferdSchemaNS
- See Also:
-
zugferdConformanceLevel
- See Also:
-
zugferdDocumentFileName
- See Also:
-
zugferdDocumentType
- See Also:
-
zugferdVersion
- See Also:
-
-
Constructor Details
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOException Creates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os
-conformanceLevel
-- Throws:
IOException
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOException Creates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os
-info
-conformanceLevel
-- Throws:
IOException
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, Map<String, String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOExceptionCreates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os
-info
-conformanceLevel
-- Throws:
IOException
-
-
Method Details
-
addRdfDescription
Adds information about the PDF/A conformance level to the XMP metadata.- Parameters:
conformanceLevel
-- Throws:
IOException
XMPException
-
getZugferdExtension
-