You have in com.lowagie.tools.handout_pdf an example on how to place pages. The text is placed with PdfContentByte.showText(), for example. There are several examples on to place text at precise positions, tables, etc at itextpdf.sf.net. The tutorial also has some info in the chapter "Advanced iText".
Best Regards, Paulo Soares > -----Original Message----- > From: Eric Vandervort [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 16:31 > To: Paulo Soares; [EMAIL PROTECTED] > Subject: Re: [iText-questions] Using only 1 page of a Multi-Page PDF > > I have the positions already stored in a XML file, I would be getting the > page to write the fields to at the positions described in the xml file. I > guess I'm not technically "filling" fields, because there are no fields, I > just write the data on the pdf. > > ----- Original Message ----- > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "'Eric Vandervort'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Wednesday, November 19, 2003 11:26 AM > Subject: RE: [iText-questions] Using only 1 page of a Multi-Page PDF > > > > Assuming that you are not filling the fields but only getting their > > positions use PdfWriter.getImportedPage() to get any page. This requires > the > > creation of a new document with PdfWriter. > > > > Best Regards, > > Paulo Soares > > > > > -----Original Message----- > > > From: Eric Vandervort [SMTP:[EMAIL PROTECTED] > > > Sent: Wednesday, November 19, 2003 16:03 > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] Using only 1 page of a Multi-Page PDF > > > > > > Right now I have a multiple page form. I have each page stored in its > own > > > separate pdf file and I use the PdfReader to read in just that pdf > file > > > when > > > I need it (I am using contentbyte to write over page 1 always). Is > there > > > anyway that I can store all of my different pages in one pdf file, and > > > choose to write fields to just that one page and output just the one > page? > > > > > > Thanks, > > > > > > Eric > > > > > > > > > ----- Original Message ----- > > > From: "Sea Sbs" <[EMAIL PROTECTED]> > > > To: "Eric Vandervort" <[EMAIL PROTECTED]>; > > > <[EMAIL PROTECTED]> > > > Sent: Monday, November 10, 2003 3:14 PM > > > Subject: Re: [iText-questions] Performance problems > > > > > > > > > > You will get much better performance if you > > > > pre-process your PDF templates to remove the fields, > > > > saving their positional information and other > > > > attributes to an XML file. > > > > > > > > At production time, write your data at the positions > > > > where the fields would have been. Much faster than > > > > form field flattening, and allows you to stamp > > > > barcodes and images. > > > > > > > > Here's an example (not iText, but easily converted): > > > > > > > > http://www.visualbasicforum.com/t116588.html > > > > > > > > A commercial product that uses this technique: > > > > > > > > http://www.pdflib.com/products/pdflib/pps.html > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Protect your identity with Yahoo! Mail AddressGuard > > > > http://antispam.yahoo.com/whatsnewfree > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
