Bug 44293 - AreaPtg resets column references to absolute
Summary: AreaPtg resets column references to absolute
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-24 22:12 UTC by Dmitriy Kumshayev
Modified: 2008-01-25 08:15 UTC (History)
0 users



Attachments
svn diff file (1.84 KB, patch)
2008-01-24 22:14 UTC, Dmitriy Kumshayev
Details | Diff
unit test (3.56 KB, text/plain)
2008-01-25 07:54 UTC, Dmitriy Kumshayev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Kumshayev 2008-01-24 22:12:42 UTC
First/last column fields store the column number AND flags indication whether
the reference is relative(1) or absolute(0). 
Current implementation cleans these bits making the column reference absolute.
The setters should not override the abs/rel bits.
Comment 1 Dmitriy Kumshayev 2008-01-24 22:14:17 UTC
Created attachment 21425 [details]
svn diff file
Comment 2 Yegor Kozlov 2008-01-24 23:02:07 UTC
Can you upload a unit test or a test program demonstrating the bug?

Yegor
Comment 3 Dmitriy Kumshayev 2008-01-25 07:54:08 UTC
Created attachment 21427 [details]
unit test

unit test
Comment 4 Nick Burch 2008-01-25 08:15:37 UTC
Thanks for this, patch and unit test committed to svn (trunk)