@sheetwrite/wasmclass
A bulk window of resolved cells, row-major over n_rows x n_cols.
Members 11
free
free: () => void;nCols
nCols: number;nRows
nRows: number;takeCondMatches Consume and return per-cell conditional-format rule bitmasks; empty when the sheet has no rules.
takeCondMatches: () => Uint32Array;takeKinds Consume and return the per-cell tag array: 0 empty, 1 number, 2 string.
takeKinds: () => Uint8Array;takeNumbers Consume and return per-cell numeric payloads (valid where kind == 1).
takeNumbers: () => Float64Array;takeStringIds Consume and return per-cell GLOBAL string-pool ids; u32::MAX means none.
takeStringIds: () => Uint32Array;takeStringIndex Consume and return per-cell indices into strings (string cells only).
takeStringIndex: () => Int32Array;takeStrings Consume and return unique strings referenced by this window.
takeStrings: () => string[];takeStyleDict Consume and return the unique global style-dictionary ids referenced by this window, in local-index order; the host maps each to a CellStyle.
takeStyleDict: () => Uint32Array;takeStyleIndex Consume and return per-cell WINDOW-LOCAL style indices into the dict.
takeStyleIndex: () => Uint32ArrayDeclaration
View full TypeScript declaration
class WindowView { free: () => void; nCols: number; nRows: number; takeCondMatches: () => Uint32Array; takeKinds: () => Uint8Array; takeNumbers: () => Float64Array; takeStringIds: () => Uint32Array; takeStringIndex: () => Int32Array; takeStrings: () => string[]; takeStyleDict: () => Uint32Array; takeStyleIndex: () => Uint32Array;}