Java iText Error while check pdf PDF/A-1A
Jose Mª Viota <[email protected]> Wed, 22 Oct 2014 17:26:33 +0200
| Newsgroups | gmane.comp.java.lib.itext.general |
|---|---|
| Message-ID | <CAKtfg-RX+MWQEwQ3xwXH0r0iW4SKVMNTazef9x7FrdL36UA3QA@mail.gmail.com> |
Hello,
I am writting in reference to an error I get while a signing a concrete
pdf file with Java iText libraries version 5.5.3.
I've attached the conflict file.
Both of Adobe Reader and Adobe Pro verifies the conformance but iText says
me that "Annotation of type /Widget should have Contents key"
I post below the trace.
Caused by: com.itextpdf.text.pdf.PdfAConformanceException: Annotation of
type /Widget should have Contents key.
at
com.itextpdf.text.pdf.internal.PdfA1Checker.checkAnnotation(PdfA1Checker.java:462)
at
com.itextpdf.text.pdf.internal.PdfAChecker.checkPdfAConformance(PdfAChecker.java:219)
at
com.itextpdf.text.pdf.internal.PdfAConformanceImp.checkPdfIsoConformance(PdfAConformanceImp.java:71)
at
com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3426)
at
com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3422)
at com.itextpdf.text.pdf.PdfAnnotation.toPdf(PdfAnnotation.java:999)
at
com.itextpdf.text.pdf.PdfIndirectObject.writeTo(PdfIndirectObject.java:158)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.write(PdfWriter.java:420)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:398)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:373)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:369)
at com.itextpdf.text.pdf.PdfWriter.addToBody(PdfWriter.java:843)
at
com.itextpdf.text.pdf.PdfStamperImp.addAnnotation(PdfStamperImp.java:1389)
at
com.itextpdf.text.pdf.PdfStamperImp.addAnnotation(PdfStamperImp.java:1401)
at
com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:1283)
Thank you for your cooperation.
Best regards,
*Jose*
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
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
BOE Correccion errores.pdf
(application/pdf, 328.7 KB) - not displayed