It must be done in two steps. Get the bookmarks with SimpleBookmark and compose your pdf. Change the bookmarks (or not), read the composed pdf and use PdfStamper to add the bookmarks to the pdf.
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Hugo Caillet > Sent: Thursday, March 04, 2004 3:56 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] PDFWriter and bookmarks and links > > Hi All, > > I'm using a PDFWriter to write a new document with somes > pages from a first document. > The problem is that the bookmarks and links from the first > document are lost. > > How can you get the bookmarks and links from the first > document and write them with the PDFWriter ? > Which class can I use ? > > Many thanks for your help. > > Cheers > Hugo > > Votre e-mail et vos SMS vous suivent sur Minitel : 3615 CARAMAIL > > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
