Skip to content
Sheetwrite

@sheetwrite/wasm

SparseCellBlockinterface

Report a problem

On this page

Some cells of one rectangle, for setSparseCells. Each array holds one entry per written cell, in the order of offsets.

Members

Properties

offsets: Uint32Array;

The row-major offset in the rectangle of each written cell: row * cols + col.

formulaOffsets?: Uint32Array;

optional

The offset of each formula cell; each is also in offsets.

referenceOffsets?: Uint32Array;

optional

The offset of each reference cell; each is also in offsets.

Declaration

View full TypeScript declaration
export interface SparseCellBlock extends Omit<
"formulaOffsets" | "referenceOffsets"
> {
offsets: Uint32Array;
formulaOffsets?: Uint32Array;
referenceOffsets?: Uint32Array;
}

Referenced by

Public exports naming SparseCellBlock