Bug 45175

Summary: [PATCH] Support for variable length operands in org.apache.poi.hwpf.sprm.SprmOperation
Product: POI Reporter: dnapoletano <domenico.napoletano>
Component: HWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: Proposed patch to affected classes

Description dnapoletano 2008-06-10 01:38:37 UTC
Created attachment 22100 [details]
Proposed patch to affected classes

I've written a small patch code to enable variable length operands support in Jakarta POI... it simple extracts operand length L (stored in _grpprl[_gOffset + 1] ) and then gets the L bytes (where L <= length of an int) next to the one that contains L.

A test doc is appreciated...
Comment 1 Nick Burch 2008-06-28 11:48:46 UTC
Thanks for this, applied to svn trunk