Skip to content

Commit

Permalink
fix: add record type 214 that comes out of nowhere and cannot be foun…
Browse files Browse the repository at this point in the history
…d in spec
  • Loading branch information
sftse committed Sep 3, 2024
1 parent ffd4ccb commit d3108b1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/xls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,15 @@ impl<RS: Read + Seek> Xls<RS> {
});
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);
Expand Down

0 comments on commit d3108b1

Please sign in to comment.