iText can do it with PdfStamper. See the examples in itextpdf.sf.net. Best Regards, Paulo Soares
----- Original Message ----- From: "Andrzej Jan Taramina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 20:16 Subject: [iText-questions] Handling AcroForms with iText? > Just wondering what iText can do with AcroForms...more specifically, I > wanted > to know if you could (or whether it would be fairly easy to extend iText > to) > read a PDF document which includes an AcroForm, change the values in the > form > (eg. to prefill certain form fields) and then save the prefilled PDF > back out > again? > > From looking quickly at the API, it seems you can copy an AcroForm from > one > PDF to another using PdfWriter and PdfCopy classes. There is also a > PRAcroForm class that allows you read the form out of the PDF, but that > class > doesn't seem to have any methods to modify the form values. > > a) Could PRAcroForm be extended (fairly easily) to allow changing of the > form > values in the internal PdfDictionary structures? > > b) If (a) is possible, how hard would it be to extend PdfWriter to allow > it > to accept a PRAcroForm object to write out? > > Thanks! > > > Andrzej Jan Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
