poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <ye...@dinom.ru>
Subject Re[2]: Macros support in POI
Date Wed, 12 Mar 2008 17:13:13 GMT
I tried it some time ago. It didn't work "as is". Evidently some
hacking is required.
I also searched the docs that Microsoft released recently but alas, macros are not described.

Yegor

> 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


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


Mime
View raw message