poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53434] New: Subtotal is not return correct value.
Date Tue, 19 Jun 2012 09:57:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53434

          Priority: P2
            Bug ID: 53434
          Assignee: dev@poi.apache.org
           Summary: Subtotal is not return correct value.
          Severity: normal
    Classification: Unclassified
          Reporter: shun.konishi@nifty.com
          Hardware: PC
            Status: NEW
           Version: 3.8
         Component: POI Overall
           Product: POI

I think, 
because LazyAreaEval#isSubtotal is not considered to relative index.

I corrected LazyAreaEval.java in my local environment, is as follows.

--- return _evaluator.isSubTotal(rowIndex, columnIndex);
+++ return _evaluator.isSubTotal(getFirstRow() + rowIndex, getFirstColumn() +
columnIndex);

After that, it seems to work correctly.

Please check.

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message