I managed to get it working using XFA. The problem was with the example code
I got from iTextPDF.com.
This does not work part2.chapter08.XfaMovie.fillData2:
DocumentBuilderFactory fact = DocumentBuilderFactory.newInstance();
fact.setNamespaceAware(true);
DocumentBuilder db = fact.newDocumentBuilder();
Document doc = db.parse(new FileInputStream(xml));
xfa.setDomDocument(doc);
xfa.setChanged(true);
XfaForm.setXfa(xfa, stamper.getReader(), stamper.getWriter());
This works part2.chapter08.XfaMovies.manipulatePdf:
xfa.fillXfaForm(new FileInputStream(xml));
Mark M. Young
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/AcroFields-setListSelection-and-or-setFields-XFDF-does-not-set-list-options-tp3344463p3349037.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php