Paulo,
Since you added support for PDF/A-1, one can (re-)use the method
setPDFXConformance(...) on PdfWriter to set the conformance level to
PdfWriter.PDFA1B.
Additionally, this method sets the version of the PDF to 1.3 (since the
supported standards ISO 15930-1 alias PDF/X-1a:2001 and ISO 15930-3 alias
PDF/X-3:2002 are based on PDF 1.3).
The PDF/A-1 standard, based on PDF 1.4, states that "A conforming file
may include any valid PDF 1.4 feature that is not explicitly forbidden by
this part of ..."
Shouldn't the above-mentioned method therefore leave the PDF version as
default (1.4) in case of PDF/A-1? That way you cannot create a PDF
document with version set to 1.3 and with 1.4 (and later) features. Or is
this simply the responsibility of the PDF creator to set the PDF version
to 1.4 to override this when creating PDF/A compliant documents?
I am also aware of the fact that neither the version number in the header
of a PDF file nor the value of the version key in the document catalog
dictionary shall be used in determining whether a file is in accordance
with PDF/A-1 (that is were the PDF/A Identification extension schema is
used to set version metadata). Perhaps this is the reason why you kept the
version setting to 1.3 ...
br,
--------------------------------------------------
Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/