HI All, 

I do not know but my question was lost in bunch of mails :)

I have password protected PDF which is a form that user can fill in and save 
them using Acrobat Reader. 
I read the document and changed the form values using iText. 
Now After saving the document, when I open it in Acrobat, the forms are no more 
editable. I cannot fill the values any longer. 
I have already set the 

stamper.setFormFlattening(false);

but it has no effect on the form fields. 

Secondly, I also have set the persmission like this. 

stamper.setEncryption("".getBytes(), "xxx".getBytes(), 
PdfWriter.ALLOW_MODIFY_ANNOTATIONS
                                        | PdfWriter.ALLOW_MODIFY_CONTENTS | 
PdfWriter.ALLOW_FILL_IN, false);
but also it makes no difference. 


Second question is regarding, warning message that is displayed by Acrobat on 
opening the document. It says document has been changed, fetch a new one from 
the source of pdf. 
I have tried to find out the signature for this file but Acrofields return 
none. If this document is not digitally signed then how it is complaining that 
form has been changed. 


Third , how can i remove the password constraint from the document so that next 
time when I open it using Itext, i do not need to give password. 


Best Regards,
Zeeshan Javeed. 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to