SheetXL - v1.0.2
    Preparing search index...

    Interface CellFormulaRendererProps

    interface CellFormulaRendererProps {
        cell: ICell;
        size: Size;
        tokens: readonly FormulaToken[];
        zoom: number;
    }

    Hierarchy

    • HTMLAttributes<HTMLDivElement>
      • CellFormulaRendererProps
    Index
    cell: ICell

    The formula cell being rendered (styling source: font, alignment, insets).

    size: Size

    The cell's unzoomed size — what the text is placed against (ICell.getTextPlacement).

    tokens: readonly FormulaToken[]

    The formula's tokens (createFormula(cell.getFormulaText(), …).getTokens()). Rendered verbatim after a leading =, each span colored by tokenColor — reference tokens rotate the shared --sxl-color-series-* palette by referenceIndex, the SAME hues the range picker outlines with, so text and rectangle always match.

    zoom: number

    The pane's zoom (the hosting box's bounds are zoomed; fonts must match).