Hello, I am new to iText, so this is probably a trivial question I am asking :
I have a PDF template(created with openoffice) which consists of some text fields and some lists. I try to update this template and fill these fields and lists with some values. Filling the text fields is quite easy, but i have trouble when it come to filling lists. I have seen this statement on the mailing list : "I'm going to add support for combo and list population in AcroFields, this need pops up now and then and it's not that difficult. It will take a couple of weeks time, I think. " in the folowing message : http://thread.gmane.org/gmane.comp.java.lib.itext.general/18653 It is allready done ? If not, could someone just supply me with a simple code sample that just fills out a list ? Here's my code : ------------------------------------------ [code] PdfReader reader = new PdfReader("test1PDF.pdf"); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("aNewPDF.pdf")); AcroFields form = stamp.getAcroFields(); form.setField("contractNb","123980"); [/code] ---------------------------------------- How can i fill a list once I have detected it ? Thanks a lot __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions