I tried the example given for createPageStamp(), but found that when I added
back the PageStamp into the PdfCopy, it then lost the bookmarks that had
originally been in the document - i.e. just as happens when using
PdfWriter.getImportedPage(). Is it not possible to preserve the former
bookmarks and annotations, and yet still edit the file via PdfCopy?

Thanks,
James.

-----Original Message-----
Date: Thu, 6 Dec 2007 10:41:06 -0000
From: "Paulo Soares" <[EMAIL PROTECTED]>
Subject: Re: [iText-questions] New PdfCopy edit functionality
To: "Post all your questions about iText here"
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

See
http://itext.ugent.be/library/api/com/lowagie/text/pdf/PdfCopy.html#crea
tePageStamp(com.lowagie.text.pdf.PdfImportedPage).

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of James Beard
> Sent: Thursday, December 06, 2007 8:35 AM
> To: [email protected]
> Subject: [iText-questions] New PdfCopy edit functionality
>
> I wanted to ask what the details are of the new (since 2.0.5)
> abilities to
> add information to a file using PdfCopy. Is it possible to use
> PdfCopy.getDirectContent() to edit the PdfContentByte
> directly? I am wanting
> to do this if possible, but cannot seem to get it to work
> (just seems to
> have no effect at all).
>
> I am also wondering if I can add annotations directly to the
> document via
> PdfCopy?
>
> Thanks,
> James Beard



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to