Hi, I'm using PDFCopy, because the main thing I need to do is to insert additional NamedDestinations with specific names, and preserve all the existing NamedDestinations, Links, Bookmarks etc.
I have looked at these examples from the Book of course, but did not find the solution to what I need. I have managed to copy namedDestinations with PdfWriter and add new ones, but then I don't get all the links working correctly. Sorry for all these questions, I'm quite new, and I'm trying to find the most appropriate solution... 1T3XT BVBA wrote: > > On 7/10/2011 17:02, vfeki wrote: >> Hi, >> >> I am using PDF Copy to create a copy of the existing PDF document that >> has >> annotations (links I need), bookmarks etc. > > And you're not doing it correctly! > Why do you do this: cb.AddTemplate(page1, 1, 1); > and at the same time this: writer.AddPage(page1); > That doesn't make sense. > > Also: why do you use PdfCopy? > Are you sure you've read chapter 6 of the book? > Your requirement calls for PdfStamper, not for PdfCopy! > Isn't the listing on page 201 not exactly what you want? > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > iText-questions mailing list > iText-questions@.sourceforge > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfWriter-throws-Exception-for-Page-Number-when-creating-larger-pdf-files-tp3882518p3883279.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php