tafia / calamine

A pure Rust Excel/OpenDocument SpreadSheets file reader: rust on metal sheets
MIT License
1.61k stars 155 forks source link

Please add `RangeDeserializerBuilder::with_columns` and `Range::rows_with_columns` #314

Open lucatrv opened 1 year ago

lucatrv commented 1 year ago

I have a spreadsheet without headers, and I would like to read some columns. Constructor RangeDeserializerBuilder::with_headers does not work in this case. It would be very useful to have a RangeDeserializerBuilder::with_columns constructor which works based on column indexes. Likewise there should be a Range::rows_with_columns constructor which gets a slice of column indexes.

Dimkar3000 commented 8 months ago

Any progress in this issue? This feature will be very useful when we want to extract a set of cells out of a complex sheet. It will also be useful to be able to set a table size. For example, let's say that I know, the table I want, lives in columns 3-10 but only after row 10 and up to row 20. Can the parser handle this case?

tafia commented 8 months ago

No progress on it so far sorry.