Vincent Guo wrote: > I need to create a new PDF from an existing PDF that contains PDF form. I > need to fill the data into the form dynamically. > The code creates a new PDF nicely. but when i open the new file with PDF > reader ( i am using acrobat reader 7.0), and tried to delete one of the > pages,i get the following error > > "Wrong type parameter supplied to a PDS procedure."
You've created the form with Designer (so it's an XFA form as opposed to an AcroForm) and the form fields have tagging/structure associated with them. Those tags are causing your problem, because they contain logic that isn't maintained when iText fills those fields (in other words: you're asking about something that isn't supported). -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ 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 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/
