Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryDiffCellsinterface

Report a problem

On this page

Changed cells of one page as parallel typed columns, in sheet order and then row by row. Row and column numbers are those of the later version.

Members

Properties

readonly sheet: Uint32Array;

read-only

Index into HistoryDiffPage.sheetIds.

readonly row: Uint32Array;

read-only

Zero-based row of each changed cell.

readonly col: Uint32Array;

read-only

Zero-based column of each changed cell.

readonly beforeRow: Uint32Array;

read-only

Row in the earlier version, or HISTORY_DIFF_NONE on an added row or column.

readonly beforeCol: Uint32Array;

read-only

Column in the earlier version, or HISTORY_DIFF_NONE on an added row or column.

readonly flags: Uint8Array;

read-only

HistoryDiffFlag bits.

readonly author: Uint32Array;

read-only

Index into HistoryDiffPage.authors of the last writer, or HISTORY_DIFF_NONE.

Declaration

View full TypeScript declaration
export interface HistoryDiffCells {
readonly sheet: Uint32Array;
readonly row: Uint32Array;
readonly col: Uint32Array;
readonly beforeRow: Uint32Array;
readonly beforeCol: Uint32Array;
readonly flags: Uint8Array;
readonly author: Uint32Array;
}

Referenced by

Public exports naming HistoryDiffCells