Skip to main content

sheet_formula_cells

Function sheet_formula_cells 

Source
pub fn sheet_formula_cells(
    ws: &WorksheetXml,
    sst: &SharedStringTable,
    style_is_date: &[bool],
    options: TraversalOptions,
    consumed_output_bytes: u64,
) -> Result<Vec<FormulaCell>>
Expand description

Lists the formula cells of a worksheet together with their cached results.

Applies the traversal checks of the row transfer encoders and returns one entry for every cell those encoders write as a formula record, with the same expression (shared-formula followers are resolved). Cached results follow crate::row::resolve_cell_value with style_is_date. consumed_output_bytes is the size of a buffer already produced for the same traversal; it counts against max_output_bytes before this list.