On Wed, 12 Mar 2008, Yegor Kozlov wrote:
Macros are stored as entries in OLE file system. The problem is that the body is compressed by LZNT1 algorithm, a weird version of ZIP compression. As far as I know LZNT1 is a proprietary MS format and not documented. So, one of the things to support macros is to implement LZNT1 decompressor.
I wonder how close LZNT1 is to the nobbled LZW used in visio. I suspect not very, knowing microsoft, but we always have the decoder (and half a compressor) for the visio lzw:
https://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/HDGFLZW.java Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
