The interactive features are annotations that exist at the page level in the /Annots array. You'll have to go one by one, scale it and probably change the target. It can be done but it requires some work and, mainly, it depends on the application; if, for example, the target was also scaled page you'll have to change the origin to point to somewhere else to match the new position.
Paulo ----- Original Message ----- From: "Michael Schierl" <[EMAIL PROTECTED]> To: <itext-questions@lists.sourceforge.net> Sent: Monday, June 25, 2007 7:10 PM Subject: Re: [iText-questions] How to preserve hyperlinks in PdfImportedPage? On Mon, 25 Jun 2007 11:32:23 +0100, Paulo Soares wrote: > See http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html. Do you mean this here (hyperlinks are not mentioned there, but I guess they are interactive features): ---- PdfWriter: generates a document from scratch, but also supports importing pages from other PDF documents. There's one big downside: all interactive features of the PdfImportedPage are lost in the process (annotations, bookmarks, fields,...) if you use PdfWriter. ---- Then my question is what else I should use? PdfCopy seems to import complete pages in 1:1 format, no way to scale two of them to one page. I did not find any methods in PdfReader that give me hyperlinks (with their positions) for adding them again afterwards (I will obviously have to scale them as well as the page). Michael ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/