-
Notifications
You must be signed in to change notification settings - Fork 164
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
Adding in ability to read merge cells from xls and xlsx files. #437
Conversation
b4158e2
to
d241337
Compare
Thanks for the PR, I've made a few comments. |
src/xls.rs
Outdated
@@ -141,7 +141,7 @@ pub struct XlsOptions { | |||
|
|||
/// A struct representing an old xls format file (CFB) | |||
pub struct Xls<RS> { | |||
sheets: BTreeMap<String, (Range<Data>, Range<String>)>, | |||
sheets: BTreeMap<String, (Range<Data>, Range<String>, Vec<Dimensions>)>, |
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.
At some point we will probably need to have some struct with property names.
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.
Is something like that satisfactory?
struct SheetData {
range: Range<Data>,
formula: Range<String>,
merge_cells: Vec<Dimensions>,
}
d241337
to
afe3dff
Compare
afe3dff
to
6b25dbc
Compare
Thanks! |
Closes #305 based on rebase of #307