resolve_cell_value

Function resolve_cell_value 

Source
pub fn resolve_cell_value(
    cell: &Cell,
    sst: &SharedStringTable,
    style_is_date: &[bool],
) -> CellValue
Expand description

Resolve the value of an XML cell to a CellValue, using the SST for shared string lookups. Thin wrapper over parse_cell_type_value that also consults style_is_date (indexed by cell.s) to decide whether a numeric cell should be surfaced as a date.

Pass an empty slice to disable date promotion; the returned values will then be spec-literal (CellValue::Number for t="n" cells regardless of number format).