It's a bug. It will be fixed.
Paulo
________________________________________
From: john.stalcup [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2008 3:57 PM
To: [email protected]
Subject: [iText-questions] PdfReader.removeAnnotations leaves the PDF in an
invalid state
I've checked as far back as the pdf 1.3 spec, and if you have an AcroForm in
your Catalog then it MUST have a Fields property. But, if you use either
PdfReader.removeAnnotations() or PdfReader.removeFields() then when iText
deletes and rebuilds the Catalog.AcroForm, it fails to populate a new
(empty) Fields array.
I only became aware of this because it caused some subsequent pdf software
(other than iText) to barf.
John
--
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php