Hi,

i upgraded to itext version 2.1.5 and wanted to remove the newly
appeared deprecated warnings however it seems to be able to do that
some methods are missing?
The method detects whether a form field is readonly or not.

1. I replaced "item.merged.get(i)" with "item.getMerged(i);" that's easy
2. But how should i replace "item.widgets.size();" ?

There doesn't seem to be a method for it?

Thanks
ToM

Here's the code

for (int i = 0; i < item.widgets.size(); i++) {
        PdfDictionary d = (PdfDictionary) item.merged.get(i);
        //get FF Flag
        //check whether its set or not and return true/false
}
return false;

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to