It's the same. stamp.getImportedPage() is just a shorthand to stamp.getWriter().getImportedPage(). You'll have to do it in two steps with PdfCopy or PdfCopyFields.
> -----Original Message----- > From: Gregory VIALE [mailto:[EMAIL PROTECTED] > Sent: Friday, October 14, 2005 11:38 AM > To: Paulo Soares > Subject: Réf. : RE: [iText-questions] PdfImportedPage lost > field with stamp ? > > > i read that yet. > > PdfImportedPage are lost in the process (annotations, > bookmarks, fields,...) if you use PdfWriter. > > i don't use PdfWriter. > > any clue ? > > thx. > > > > > > "Paulo Soares" <[EMAIL PROTECTED]> > > 14/10/2005 12:20 > Pour : "Gregory VIALE" > <[EMAIL PROTECTED]>, > <[email protected]> > cc : > Objet : RE: [iText-questions] PdfImportedPage > lost field with stamp ? > > > > http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Gregory VIALE > > Sent: Friday, October 14, 2005 11:10 AM > > To: [email protected] > > Subject: [iText-questions] PdfImportedPage lost field with stamp ? > > > > > > hi, > > > > i use this code : > > > > PdfImportedPage page = stamp.getImportedPage(reader,2); > > stamp.insertPage(3,new Rectangle(595,841)); > > stamp.getUndercontent(3).addTemplate(page,1,0); > > > > > > all field on my reader lost... in my stamper. > > > > > > thx. > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
