poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43399] - getCellFormula() returns incorrect formula if row numbers are very large
Date Tue, 18 Sep 2007 15:03:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43399>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43399


nick@torchbox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From nick@torchbox.com  2007-09-18 08:03 -------
It turns out that we can't simply tweak ReferencePtg to use an integer for the
row, as that breaks everything else (which assumes a short)

I've added a setRow(int) method, which takes a 0<=row<63566 argument, and
handles wrapping. I've also added a a getRowAsInt, which again does the
wrapping. With those in, the toForumulaString method can then call getRowAsInt,
instead of getRow, and everything's happy.

Testcase committed too, so we can be sure it'll stay fixed in future!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message