Am 23.02.2017 um 14:05 schrieb ashish sangani:
Hi,
I want do develop functionality to create PDF/A-3 level document. But I am
not sure what are the properties I need to set with what values.
Also I need to set Dublin Core elements metadata for each PDF/A file.
I referred sample class at:
https://apache.googlesource.com/pdfbox/+/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
to create Document, but in some sites they said document is not valid.
which ones?
So tried one more class found at:
https://github.com/jstaerk/mustangproject/blob/master/pdfa3-sample/src/main/java/pdfbox/PDFA3File.java
Using this class I can create document successfully and also during
validation on online tool, it is verified as proper document.
So main questions are:
1 ) What are the properties I need to set with what values to create
correct PDF/a-3 document having DublinCore metadata?
2) How to validate that document I have created using PDF Box is correct
and as per PDF/A standard?
https://stackoverflow.com/questions/42407351/pdf-a-3-using-apache-pdfbox
You can validate PDF/A-3 with verapdf.org <http://verapdf.org/> . Re the
metadata, buy the PDF/A-3 specification (you have to pay for it).
Alternatively, just add all your elements one by one and validate the file.
Tilman|
|