Description
I want to generate invoice xlsx using NPOI.
The invoice is not fully built by NPOI.
I use a hand made xlsx as a template.
Because it assumes that book is modified by software, there is sheet to hold variables.
The variables are just cells having names.
The issue is that in this way I need to use XSSFWorkbook.SetForceFormulaRecalculation = true;
But this doesn't work as expected.
I'll post simple xlsx files for this repro:
Base.xlsx
SetNameTaro-With-fullCalcOnLoad.xlsx
SetNameTaro-Without-fullCalcOnLoad.xlsx
If fullCalcOnLoad = true
is activated around:
npoi/ooxml/XSSF/UserModel/XSSFWorkbook.cs
Line 2303 in b4b94fe
XSSFWorkbook.SetForceFormulaRecalculation
will work as expected.
So I want to ask to add fullCalcOnLoad = value
line to the NPOI.