I have two different documents. At the moment I merge these two documents together with PdfCopy. In one of this documents there is a table of contents created with Chapters and Sections. In the other document there is the table of contents created by myself with the same entries inside a PdfPTable. Each entry in this table of contents is a Chunk. To link each entry to the correct page of the other document I used the setRemoteGoto method with filename and pagenumber as parameters. This appraoch works fine until I rename the merged document. Now I am looking for an approach or an idea how to solve this problem.
My idea was to open the merged document and add new content with PdfStamper. In my case I have the problem that in the document with the created table of contents there is some more other content like tables or paragraphes. And the document has his own header and footer. I don't know how to add all these things with PdfStamper. Can I change content of an existing page with PdfStamper or should I open the document with the Chapter and Section objects with PdfReader and then add all the content of the other document with PdfStamper? Perhaps I think to complex. I hope somebody can help me. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
