Scott Lusebrink wrote:
>  I have existing pdf that has "Usage Rights for Adobe Reader" enabled so 
> a user can use digital signatures. I then use a PdfStamper to fill in 
> some of the forms and save it.  When i open the saved pdf i get Document 
> has been changed and these rights are no longer valid.  and I can no 
> longer  use the digital signatures.  Is there a way to enable rights for 
> Adobe Reader through iText?

*SIGH*
Please search the mailing list archives before asking a question that
has been answered many, many, many, many, many times before:
http://www.nabble.com/Re%3A-%28no-subject%29-p14936668.html
http://www.nabble.com/Usage-Right-For-Acrobat-Reader-Problem-td8634794.html#a8635153
http://www.nabble.com/Re%3A-Setting-a-text-value-causes-PDF-to-lose-ability-to-save-data.-%22usage-rights%22-setting-is-lost.-p12264045.html
And many more...

> Also can someone provide me an example of how to set a form field as 
> readonly, I think I need to use setFieldProperty but I don't know what 
> name to put. The PdfFormField.FLAG and FF is an int so those must be 
> values for the property name.

There's a code snippet on p507 of "iText in Action" that shows
you how to do it.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to