Op 30/08/2012 22:31, Hakan Usakli schreef: > I own the itext in action 2nd edition book and the code below is written > with guidance from the book - pages 90,91 (adding objects from template and > wrapping into an image for easier transformation)
You are using the code from chapter 6, which you can find on p159 to 193. If you would read the Summary of that chapter, you'd see: PdfImportedPage: A read-only subclass of PdfTemplate. Can be obtained from a PDF manipulation class using the method getImportedPage(). PdfWriter: Generates PDF documents from scratch. Can import pages from other PDF documents. The major downside is that all interactive features of the imported page (annotations, bookmarks, fields, and so forth) are lost in the process. In other words: the problem you're describing is documented. You'll have to read the complete book to find out if and how your problem can be solved. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list [email protected] 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
