On 5/10/2010 8:43, riffla wrote: > > Hi > > I wonder if it's possible to insert text into an existing PDF (used as a > template with certain text/images pre filled) in a way described below. > > Assuming I have a prefilled PDF containing let's say a header with a date > and a top line text and also some footer info (such as company info), is it > then possible to insert text above the top line text, like I'd put in som > text holders in the page, and then I'd pull some data from a web form to > populate those text containers. This is like absolute positioning in > opposite to work with a document flow (a bit like position:absolute/relative > in HTML element style)
Create a form and fill in the form fields. Plenty of examples on how to do that in chapters 8 and 9 of the second edition of "iText in Action". -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
