Hi,

I have just some simple questions.
I use

addTemple(importedPage, 0, 0);

to copy pages.
Yes, I know using PDFCopy is the better way.
But that what I'm  trying to do was not poosible
on this way.

OK... on this


                    PdfDictionary pageDic = reader.getPageN(i);

                    cb.getPdfDocument().newPage();
                    // ==== import PAGE
                    PdfImportedPage importedPage = 
writer.getImportedPage(reader, i);

                    cb.addTemplate(importedPage, 0, 0);

                    // ==== import PAGE

The page numbers (docbook starts with I, ii, ... 1, 2, 3, ...) are not lost,
And also the bookmarks and the links of the page index doesn't work any more.

So I want to kindly ask for some small hint how to fix that.
Thanks in advance.
Kind regards
Markus Sticker
Forschung und Entwicklung ZF Konzern/Research and Development ZF Group
Infrastruktur/Infrastructure (DTEP4)
ZF Friedrichshafen AG
88038 Friedrichshafen, Deutschland/Germany
Telefon/Phone  +49 7541 77-7644, Telefax/Fax  +49 7541 77-907644
markus.sticker.e...@zf.com<mailto:markus.sticker.e...@zf.com>

Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. 
Giorgio Behr
Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. 
Konstantin Sauer, Jürgen Holeksa, Michael Hankel, Wilhelm Rehm, Rolf Lutz
Sitz/Headquarters: Friedrichshafen
Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the 
municipal court of Ulm HRB 630206

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to