Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix InvalidCastException at workbook loading #2231

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

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

lvxiao312
Copy link
Contributor

I encountered this issue when trying to load a workbook containing chart sheets.

lvxiao312 and others added 2 commits December 17, 2023 00:05
…hart sheet.

Worksheets referenced by the workbook can be of different type and be represented by different part
types (e.g. worksheet, chartsheet or dialogsheet). Originally, the code caused InvalidCastException
when the workbook contained a chartsheet and pivot reader tried to extract info about pivot table
from it.
@jahav jahav added this to the v0.104 milestone Dec 16, 2023
@jahav jahav merged commit 60b13a6 into ClosedXML:develop Dec 16, 2023
@jahav
Copy link
Member

jahav commented Dec 16, 2023

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants