This code will take care of the info in encryption. Best Regards, Paulo Soares
----- Original Message ----- From: "Stephan Wiesner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 26, 2002 6:04 Subject: Re: FW: [iText-questions] DocBook, FOP, Itext leads to no links and no Bookmarks > Hi Paulo, > thanks for the hint, but how do I actually do this? I didn't find a way > to add the meta information while keeping my bookmarks. Attached is my > current code, which (of course) doesn't work :-( > > Stephan > > > > > > > Paulo Soares wrote: > > >An equivalent to document.addCreator() can be done easily but not > >watermarks. Well, to be fair, watermarks can be done but you must know > the > >pdf specs very well, it's not already done. > > > >Best Regards, > >Paulo Soares > > > >----- Original Message ----- > >From: "Stephan Wiesner" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Wednesday, December 25, 2002 9:28 > >Subject: Re: FW: [iText-questions] DocBook, FOP, Itext leads to no > links and > >no Bookmarks > > > > > > > > > >>Hi Paulo, > >>that doesn't really help me either. The encryption works and my > >>bookmarks are kept now, but I need to set a watermarkfile, > >>document.addCreator() and the like. How can I combine that? Or is this > >>really not possible? > >> > >>Stephan > >> > >> > >> > >> > >>>-----Original Message----- > >>>From: [EMAIL PROTECTED] > >>>[mailto:[EMAIL PROTECTED]] On Behalf Of > Paulo > >>>Soares > >>>Sent: Dienstag, 24. Dezember 2002 17:00 > >>>To: Stephan Wiesner; [EMAIL PROTECTED] > >>>Subject: Re: [iText-questions] DocBook, FOP, Itext leads to no links > >>> > >>> > >>and > >> > >> > >>>no Bookmarks > >>> > >>> > >>>There are ways to keep all the doc structure when encrypting. See > >>>http://www.geocities.com/itextpdf/encrypt_pdf.zip. It can easily be > >>>changed to have a modified info dictionarie but not to have > watermarks. > >>> > >>>Best Regards, > >>>Paulo Soares > >>> > >>>----- Original Message ----- > >>>From: "Stephan Wiesner" <[EMAIL PROTECTED]> > >>>To: <[EMAIL PROTECTED]> > >>>Sent: Tuesday, December 24, 2002 6:28 > >>>Subject: [iText-questions] DocBook, FOP, Itext leads to no links and > no > >>>Bookmarks > >>> > >>> > >>> > >>> > >>> > >>> > >>>>Hi list, > >>>>I transform DocBook documents, using FOP. The resulting PDF is then > >>>>secured, using iText. This works fine, except that iText destroys > the > >>>>links in the document and the bookmarks are no longer displayed in > the > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Acrobat reader. I tried iText 0.94 and 0.96 and got the same result. > >>>> > >>>>I have attached the method that is responsible for the securing of > the > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>PDF. > >>>> > >>>>Any suggestions? > >>>> > >>>>Stephan > >>>> > >>>> > > > > > > > > > > > >
PdfEncryptorPlus.zip
Description: Zip compressed data