Maicas Juanes, Miguel Ángel wrote: > Hi, > > I have 2 pdf documents (doc1.pdf ; doc2.pdf) that I must concatenate in > another pdf (result.pdf)
OK > doc1.pdf and doc2.pdf have internal links OK > I'm using a variant of the code of ConcatenateStamp sample: > http://itextpdf.com/examples/index.php?page=example&id=128 That's an example from the second edition of the book "iText in Action". It is assumed that you have purchased the book if you use this example. > The result document (result.pdf) is created but internal links of the > second document (doc2.pdf) have the original page destination (if the > first link in doc2.pdf point to the 3th page of doc2.pdf the same link > in result.pdf point to the 3th page of result.pdf). The answer can be found in part 2 of the book, please read on, and you'll find it. > I've tried to change the destination using this code: The answer to your question is mentioned literally in the book. The chapter you need is already available: http://itextpdf.com/book/ (Note that you shouldn't buy the book through Amazon if you need an immediate answer.) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/