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]
