Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A fix for bug 66682. #485

Closed
wants to merge 2 commits into from
Closed

A fix for bug 66682. #485

wants to merge 2 commits into from

Conversation

opeongo
Copy link

@opeongo opeongo commented Jul 8, 2023

This fixes the problem where values from boolean formula cells in binary excel files read with the event model are not handled. These cells are always yield empty values regardless of the evaluation of the formula. The simple fix is to use the same cell handler as for literal boolean values.

Tested and it works. I will add a test case if someone can give me some direction as to where it should go.

… formula cells in binary excel files read with the event model are not handled. These cells are always yield empty values regardless of the evaluation of the formula. The simple fix is to use the same cell handler as for literal boolean values.
@pjfanning
Copy link
Contributor

https://github.com/apache/poi/blob/trunk/poi-ooxml/src/test/java/org/apache/poi/xssf/binary/TestXSSFBSheetHyperlinkManager.java is a good test to copy.

If you want to read in an xlsb file, copy it in test-data/spreadsheet. That's where TestXSSFBSheetHyperlinkManager is reading its input file from.

@asfgit asfgit closed this in fa8650f Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants