I am sorry if I was not clear. What I meant was. Since FOP deals with documents of types PDFs as it's output. It would be nice to have a feature that could undo what it does, in this case, provide a Java API that could reverse the process (from a programmatic view point not command line). Maybe in future versions.
I am not sure about the Adobe PDF specs and what is even needed to be able to achieve this so maybe this is not even something within the domain of the current FOP plan. Just wanted to make sure. Thanks, Anil. -----Original Message----- From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 3:25 PM To: [email protected] Subject: RE: Programmatically supplying a password to open a password protected PDF FOP takes XML as input, not PDFs. Why would FOP need to be able to decrypt a PDF? -----Original Message----- From: Anil Pinto [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 5:53 PM To: [email protected] Subject: RE: Programmatically supplying a password to open a password protected PDF Thanks Andreas, I looked at iText but was not sure it could do it as I saw this statement somewhere on it's FAQ'a page at http://www.lowagie.com/iText/faq.html "Because decrypting an encrypted PDF-file is not possible with iText (and it will never be) ........" I was just thinking that if FOP can create PDFs it would be nice that it could also provide a way to accept passwords and the type of encryption used (if required) to get to the data stream. Anil. -----Original Message----- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 2:43 PM To: [email protected] Subject: RE: Programmatically supplying a password to open a password protected PDF > -----Original Message----- > From: Anil Pinto [mailto:[EMAIL PROTECTED] > Hi Anil, > I was wondering if the reverese is possible. What I am looking for is > to be able to programmatically open password protected PDFs (if the > correct password is provided) and access the data stream within the > program directly. Is this possible with FOP ? No, but then again, FOP was never meant to open PDFs, just create them (from XSL-FO documents) > > If not can anyone please guide me if there is any Java based tool > (preferably open source) that can do it. Take a look at iText: http://www.lowagie.com/iText/ IIC, this should allow you to manipulate PDFs, even encrypted ones. HTH! Greetz, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
