Thanks for your reply.

Claims is enough for the moment; I will do the real PDF/A validation later.

So I will try to read parse the XMP meta-data. Are there any tools for this (besides XMPReader, which doesn't offer many methods)?

Rafael

Am 09.11.10 13:10, schrieb Leonard Rosenthol:
Do you want to know if the file CLAIMS to be conformant with a standard or is 
REALLY conformant?

Claiming conformance you can do easily by just checking the particular values 
in the XMP metadata.

Real conformance requires a LOT of parsing and check of the file that iText 
odesn't do.

-----Original Message-----
From: Rafael Wampfler [mailto:wampf...@glue.ch]
Sent: Tuesday, November 09, 2010 5:04 AM
To: Post all your questions about iText here
Subject: [iText-questions] Read PDF conformance (PDF/A)

Hi,

on a writer I can set the version and conformance:
writer.setPdfVersion(PdfWriter.PDF_VERSION_1_4);
writer.setPDFXConformance(PdfWriter.PDFA1B);

But I like to read this values of a PDF file with a PdfReader.
I can read the version with reader.getPdfVersion(), but there is no method 
getPDFXConformance() on the reader. The method exists on PdfWriter and PdfCopy.

Is there a way to find out the conformance from a PdfReader?
Or is this not even possible?
I know that PDF/A is PDF 1.4, but not all PDF 1.4 are PDF/A...

Regard,
Rafael

<<attachment: wampfler.vcf>>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to