Bug 45175 - [PATCH] Support for variable length operands in org.apache.poi.hwpf.sprm.SprmOperation
Summary: [PATCH] Support for variable length operands in org.apache.poi.hwpf.sprm.Sprm...
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2008-06-10 01:38 UTC by dnapoletano
Modified: 2008-06-28 11:48 UTC (History)
0 users

Proposed patch to affected classes (2.04 KB, patch)
2008-06-10 01:38 UTC, dnapoletano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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