]> source.dussan.org Git - xmlgraphics-fop.git/commit
XMP metadata generation from the PDFInfo object now conforms to PDF/A-1 (6.7.3 in...
authorJeremias Maerki <jeremias@apache.org>
Fri, 17 Feb 2006 16:18:04 +0000 (16:18 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 17 Feb 2006 16:18:04 +0000 (16:18 +0000)
commitbb601dc8aa70faa53cdfac917161f7d2ef7fc1a3
tree7ed71ff48b867f840939cb4f9a8dbe2eda5bb89e
parent7d3e991871bb74e8e2ce7eb77f2e5748e7d84d63
XMP metadata generation from the PDFInfo object now conforms to PDF/A-1 (6.7.3 in ISO 19005-1:2005(E)).
On PDFDocument, it is now possible to set the PDF-A mode which triggers conformance checks where necessary.
The first PDF/A-1b conformance checks are now in the code. When conformance problems are detected, the new PDFConformanceException (subclass of RuntimeException since this would be a programmer error) is thrown.
PDF Renderer got a setting (through rendering options and XML configuration) to set the PDF/A-1 mode. Default is "disabled".

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378560 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/fo/extensions/xmp/XMPConstants.java
src/java/org/apache/fop/pdf/PDFAMode.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/PDFConformanceException.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/PDFDocument.java
src/java/org/apache/fop/pdf/PDFInfo.java
src/java/org/apache/fop/pdf/PDFMetadata.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java