poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: Password protected word documents
Date Tue, 10 Feb 2004 17:28:12 GMT
On Tue, 10 Feb 2004, Ryan Ackley wrote:
> There is a way but I don't know how to do it with the old stuff. I am
> working on new stuff right now. You need to get the short at offset 0xA
> of the FIB. Check for the bit flag 0x0100. If this doesn't make sense to
> you, you will have to wait for the new stuff I guess.

That makes enough sense that I could probably do it

Based on this, would it be worth me extending extractor.WordDocument to
check for this, and throw something like a PasswordProtectedDocument
exception if it found it (rather than blowing up with an out or memory
error as now)?

Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message