SetSheetContentUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new SetSheetContentUndoEntry(sheetId: number, oldSheetContent: ClipboardCell[][], newSheetContent: RawCellContent[][]): SetSheetContentUndoEntry
Defined in hyperformula/src/UndoRedo.ts:146
Parameters:
| Name | Type |
|---|---|
sheetId |
number |
oldSheetContent |
ClipboardCell[][] |
newSheetContent |
RawCellContent[][] |
Returns: SetSheetContentUndoEntry
Properties
Section titled “Properties”newSheetContent
Section titled “newSheetContent”Readonly
• newSheetContent: RawCellContent[][]
Defined in hyperformula/src/UndoRedo.ts:150
oldSheetContent
Section titled “oldSheetContent”Readonly
• oldSheetContent: ClipboardCell[][]
Defined in hyperformula/src/UndoRedo.ts:149
sheetId
Section titled “sheetId”Readonly
• sheetId: number
Defined in hyperformula/src/UndoRedo.ts:148
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:159
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:155
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
getReferencedOldDataVersions
Section titled “getReferencedOldDataVersions”▸ getReferencedOldDataVersions(): number[]
Defined in hyperformula/src/UndoRedo.ts:42
Returns LazilyTransformingAstService version keys referenced by this entry’s oldData. Default implementation returns empty — override in entries that store oldData.
Returns: number[]