[Bug 61864] New: Workbook.setForceFormulaRecalculation not working as expected

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61864] New: Workbook.setForceFormulaRecalculation not working as expected

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61864

            Bug ID: 61864
           Summary: Workbook.setForceFormulaRecalculation not working as
                    expected
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Workbook.setForceFormulaRecalculation always sets ForceFormulaRecalculation at
false. Create and excel file, open a workbook on it and run the followng lines:

System.out.println(wb.getForceFormulaRecalculation());
wb.setForceFormulaRecalculation(true);
System.out.println(wb.getForceFormulaRecalculation());
wb.setForceFormulaRecalculation(false);
System.out.println(wb.getForceFormulaRecalculation());

First output will depend on file settings, other two outputs will be both
false.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61864] Workbook.setForceFormulaRecalculation not working as expected

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61864

--- Comment #1 from Luca <[hidden email]> ---
Created attachment 35601
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35601&action=edit
JUnit test class.

Add JUnit test class.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61864] Workbook.setForceFormulaRecalculation not working as expected

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61864

--- Comment #2 from Luca <[hidden email]> ---
Created attachment 35604
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35604&action=edit
Excel empty file

test.xlsx is an excel file created anew with Microsoft Excel. I attach it here
for convenience.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]