pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDF versions
Date Thu, 14 Jan 2016 17:14:23 GMT
Am 14.01.2016 um 13:44 schrieb Scancella, John:
> Can anyone tell me if you support writing PDFs in the PDF/A-2a version/format? And if
so, could you point me to the documentation on how to do so?

PDF/A-2a is a subset of PDF. The PDF/A-2a specification is available 
here for 158CHF:

You can create PDF/A-2a files with PDFBox, no special API is needed, 
i.e. you need to use the available API in the way required by the 
PDF/A-2a specification. See the CreatePDFA.java for an example for 
PDF/A-1b. For PDF/A-2a, you'll need to change the two 
PDFAIdentificationSchema lines (this does not make it a PDF/A-2a file, 
it just means that it claims it is one), and add the structural 
information. For that, read also the PDF specification 
. The PDFBox API is named similar to the items there. Unlike itext, 
PDFBox is very low level, so you'll have to code more. You'd probably 
want to use itext, unless you're really interested in learning this 
"structure" stuff.


To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message