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

Add headerFooter to worksheet model when importing from file #1000

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

kigh-ota
Copy link
Contributor

@kigh-ota kigh-ota commented Oct 26, 2019

Fix #999

I just added headerFooter to the model of WorkSheetXform in #parseClose(), in order that Worksheet object has headerFooter property read from existing xlsx file.

Even when sheetX.xml doesn't contain <headerFooter> node, Worksheet object still has headerFooter property with value null; I wonder whether this behavior is good.

Please let me know if anything is needed for this PR.

@kigh-ota kigh-ota changed the title Add headerFooter to worksheet model for importing Add headerFooter to worksheet model when importing from file Oct 26, 2019
@guyonroche
Copy link
Collaborator

@kigh-ota cool - nice catch. Will merge...

@guyonroche guyonroche merged commit ddf6599 into exceljs:master Oct 28, 2019
@kigh-ota
Copy link
Contributor Author

@guyonroche
Many thanks for the quick response!

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.

Can't import headerFooter from existing xlsx files
2 participants