I read XLSX files using the Apache POI event API, that is, I read the contents of an XLSX sheet through SAX Parser. I want to know how we can get the calculated formula value using the XSSF event API.
As I know, this is to use the FormulaEvaluator class. But since formulaEvaluator accepts an instance of the Workbook class, I don't want to use this approach. (I am reading Excel files containing a million rows and 100 columns, so if I create this Excel's Workbook object, my application server goes out of memory, and so I use the Event API)
How can I evaluate when parsing events without a Workbook instance?
rirhs source share