xlnt/source/detail/serialization
Adam Hooper 319c4197c1
Streaming: skip empty rows in has_cell()/read_cell()
Previously, an empty row would mess with the parser: if we're in an
empty row, our helper methods don't detect us as being in the "row" _or_
in the "sheetData". So `has_cell()` would return false when it
shouldn't. Similarly, `read_cell()` wouldn't skip rows; so `read_cell()`
would return an invalid cell when placed in an empty row, causing a
segfault when the caller tried to use the cell.

Callers must take care to call `has_next()` before `read_next()`. In
the future, perhaps we can make `read_next()` return a `std::optional`
and nix `has_next()` altogether?

[Closes #492]
2020-07-28 15:29:12 -04:00
..
custom_value_traits.cpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
custom_value_traits.hpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
excel_thumbnail.hpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
open_stream.cpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
open_stream.hpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
serialisation_helpers.hpp move the simplified cell_reference and cell structs out to a header 2020-04-25 11:00:39 +12:00
vector_streambuf.cpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
vector_streambuf.hpp bump copyright year to 2020 2020-02-08 12:12:59 -05:00
xlsx_consumer.cpp Streaming: skip empty rows in has_cell()/read_cell() 2020-07-28 15:29:12 -04:00
xlsx_consumer.hpp Streaming: skip empty rows in has_cell()/read_cell() 2020-07-28 15:29:12 -04:00
xlsx_producer.cpp fix most (all?) the places where string<->double conversions are performed 2020-04-25 14:00:58 +12:00
xlsx_producer.hpp derp, need typename too 2020-04-26 15:54:49 +12:00
zstream.cpp update miniz to 2.1, move to third-party 2019-12-26 12:51:02 -05:00
zstream.hpp organize detail files, start wiring up encryption logic 2017-04-20 14:03:03 -04:00