Hi there,

I've got a PDF-Form which I fill in with some values. The user is
normaly allowed to change this values. But in some cases it's not
allowed.
I'm setting the values like this:

AcroFields form = stamp.getAcroFields();
Iterator it = ffields.iterator();
while (it.hasNext()) {
   FormField ff = (FormField) it.next();
   // if available set name and value
   if (form.getField(ff.getName()) != null) {           
       form.setField(ff.getName(), ff.getValue());
   }    
} 

FormField is my own Class where I store informations about the field
(until now is's only name, value and readonly). 
Is there any possibility  to set the AcroField to "readonly"?
I've only found how to set the visibility :/

Thanks a lot :)

-- 
  Beate Niendorf 
--



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to