-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Stream writer improvements #1123
Conversation
this will give more flexibility to header modifications
the validity of the sheet is tested outside now
the function was changed to allow being called after data has been written
this fixes the GetCellValue not working on streams after the bufferedWriter changes this also fixes GetCellValue on large streams that spill to tmp file
please review this PR, I have nothing more to add, it just need the finishing touches |
Codecov Report
@@ Coverage Diff @@
## master #1123 +/- ##
=======================================
Coverage 98.44% 98.44%
=======================================
Files 31 31
Lines 23459 23469 +10
=======================================
+ Hits 23095 23105 +10
Misses 242 242
Partials 122 122
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks for your contribution. I've left some comments.
- New exported error `ErrStreamSetPanes` has been added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made some changes based on your branch. This only added the set panes support for stream writer.
- New exported error `ErrStreamSetPanes` has been added
- New exported error `ErrStreamSetPanes` has been added
PR Details
This PR adds miscellaneous improvements to the stream writer API
Description
Related Issue
#1047
Motivation and Context
These changes make the stream API more flexible and less restricted
How Has This Been Tested
For now I only tested generating large sheets with real world data
I also looked at the xml and compared to another xml generated on normal mode
Automated tests on the way
Types of changes
Checklist