poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: Macros support in POI
Date Wed, 12 Mar 2008 16:54:36 GMT
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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message