Jacques Granduel wrote:
> Hi all,
> 
> I've come to realize I cannot load data from xml into a pdf dynamic xfa 
> form in Adobe Reader. The data is in an XML file sent by email from 
> Adobe Reader. The XML data comes from a schema which is connected to the 
> form created in LiveCycle. The data can be imported in Adobe Acrobat 
> Pro, but not in Adobe Reader.
> So I'm turning on iText! I know it's possible to populate some xfa 
> fields with iText, but is it possible to load a XML file at once, just 
> as the method xfa.host.importData(...) does?

I you have a dynamic XFA form:
http://examples.itextpdf.com/resources/pdfs/xfa_movies.pdf
And data in the schema expected by the form:
http://examples.itextpdf.com/results/part2/chapter08/movies.xml

Then you can inject the XML into the PDF using this code:
http://itextpdf.com/examples/index.php?page=example&id=165

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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
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