-
-
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
#1296 add GetRowOpts to Rows #1297
#1296 add GetRowOpts to Rows #1297
Conversation
b8f0c05
to
45afab5
Compare
Codecov Report
@@ Coverage Diff @@
## master #1297 +/- ##
=======================================
Coverage 98.47% 98.47%
=======================================
Files 31 31
Lines 23448 23482 +34
=======================================
+ Hits 23090 23124 +34
Misses 239 239
Partials 119 119
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. |
On second thought, it might be better to return a |
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.
Thanks for your PR, I've left some comments.
2f00f5a
to
c8e5b9c
Compare
I've updated the PR to return RowOpts instead. |
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.
Thanks for your update. I've left some comments.
This comment was marked as resolved.
This comment was marked as resolved.
dd1fb8b
to
1fa3b4f
Compare
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.
Thanks for your update. In addition, I suggest adding some unit tests.
f0d0905
to
f61e6bd
Compare
Signed-off-by: Thomas Charbonnel <[email protected]>
f61e6bd
to
156cb4a
Compare
LGTM, thanks for your great work. |
…der (qax-os#1297) - Support get rows properties by `GetRowOpts` function - New exported constant `MaxCellStyles`
…der (qax-os#1297) - Support get rows properties by `GetRowOpts` function - New exported constant `MaxCellStyles`
…der (qax-os#1297) - Support get rows properties by `GetRowOpts` function - New exported constant `MaxCellStyles`
Signed-off-by: Thomas Charbonnel [email protected]
PR Details
This PR fixes #1296 and adds a method called
GetStyleID
on structRows{}
in order to get access to a row's style ID while stream-reading rows inside an XLSX file.Description
styleID
property toRows{}
rows.Next()
rows.GetStyleID
Related Issue
#1296
Motivation and Context
This PR adds the ability to read a row's style, which wasn't present before.
How Has This Been Tested
Test fixture file
Book1.xlsx
was updated to add a row style on the first row of Sheet2. The test makes sureGetStyleID
returns the right ID.Types of changes
Checklist