Martyn Hiemstra wrote:
> I have saved the file as a Dynamic PDF and not as a xdp file. I can load 
> the pdf and then say pdfStamper.getAcroForm() and read all the 
> components and set their values. The thing is, I can set the values of 
> the all the text fields so it has to be a acroform. If it wasn't a 
> acroform pdf then shouldn't pdfStamper.getAcroFields() return null?

No, those forms contain both XML describing the form and PDF annotations 
(AcroForm fields) at the same time. Maybe if you throw away the XFA, it 
will work: http://1t3xt.info/examples/browse/?page=example&id=391
but I'm not sure. It's difficult to assess without seeing the form.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
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

Reply via email to