https://bz.apache.org/bugzilla/show_bug.cgi?id=59841

--- Comment #8 from Andreas Beeker <[email protected]> ---
Sorry - I don't understand your FakeEntry approach ... and even Nick beat me on
this, I'd like to add my two cents ...

So lets summarize:
- you have a hugh encrypted .xlsx
- and want to use eventmodel for text extraction
- the extraction should be on a file and not a stream
- it's not a problem to a have temporary file, but it should be encrypted

My/further insights:
- the shared string table is loaded in full into the memory, so this might be a
caveat
- you need to provide a custom ZipFile implementation with standard AES or
custom encryption support which is used by POI - maybe "Apache Commons
Compress" can be used for that ... and of course we need to adapt the
OPCPackage handling for that

So currently it looks like the following approach for me:
- read the ole2 container
- copy the encrypted stream into a encrypted zip with a session key
- provide the zip to an adapted ZIP-/OPCPackage
- use XSSFReader with that OPCPackage

The key is, that we need to change the ZIPPackage to support a custom ZipFile!
So writing the ZipFile is not an issue and can be handled without changing POI,
but reading is the interesting part.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to