From d3108b1971f6f634582f25e1e772146e669ed1a3 Mon Sep 17 00:00:00 2001 From: c Date: Fri, 16 Aug 2024 15:25:28 +0200 Subject: [PATCH] fix: add record type 214 that comes out of nowhere and cannot be found in spec --- src/xls.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/xls.rs b/src/xls.rs index 1cf126c..fa31a98 100644 --- a/src/xls.rs +++ b/src/xls.rs @@ -463,7 +463,15 @@ impl Xls { }); formulas.push(Cell::new(fmla_pos, fmla)); } - _ => (), + // tests/high_byte_string.xls contains a record type that + // cannot be found in the "By Number" 2.3.2 table + 0x00D6 => { + let Ok(s) = parse_label(r.data, &encoding, biff) else { + continue; + }; + cells.extend(s); + } + _ => {} } } let range = Range::from_sparse(cells);