Its more than saying password=xxxx. I think using "password for open" will encrypt the document using RC4 encryption. RC4 is not patented but is a trade secret of RSA <http://www.tech-faq.com/rc4.shtml>. Anyway traditionally, POI has avoided touching encryption.
----Taken from: http://poi.apache.org/faq.html---- Protecting a spreadsheet encrypts it. We wont touch encryption because we're not legally educated and don't understand the full implications of trying to implement this. If you wish to have a go at this feel free to add it as a plugin module. We wont be hosting it here however. -------------------------------------------------------------------- -Raghu On Wed, Apr 2, 2008 at 3:32 PM, cybbe <[EMAIL PROTECTED]> wrote: > > Hallo everyone, > > we are a group of students in germany and we have to do an project where > we > should try to "read" a protected WORD Document (password is known) with > POI. > Problem is we find no solution how to get it to work :( > Is there any way how we can solve this problem? Maybe a line in the > java-code where we can "say" password=XXXX ? > > Thanks for help > > cybbe > > PS: Hope you know what I mean :) > Sorry for my bad english.... > -- > View this message in context: > http://www.nabble.com/Password-protected-WordFile-tp16446354p16446354.html > Sent from the POI - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
