ClearSheetUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new ClearSheetUndoEntry(sheetId: number, oldSheetContent: ClipboardCell[][]): ClearSheetUndoEntry
Defined in hyperformula/src/UndoRedo.ts:330
Parameters:
| Name | Type |
|---|---|
sheetId |
number |
oldSheetContent |
ClipboardCell[][] |
Returns: ClearSheetUndoEntry
Properties
Section titled “Properties”oldSheetContent
Section titled “oldSheetContent”Readonly
• oldSheetContent: ClipboardCell[][]
Defined in hyperformula/src/UndoRedo.ts:333
sheetId
Section titled “sheetId”Readonly
• sheetId: number
Defined in hyperformula/src/UndoRedo.ts:332
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:342
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:338
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
getReferencedOldDataVersions
Section titled “getReferencedOldDataVersions”▸ getReferencedOldDataVersions(): number[]
Defined in hyperformula/src/UndoRedo.ts:43
Returns LazilyTransformingAstService version keys referenced by this entry’s oldData. Default implementation returns empty — override in entries that store oldData.
Returns: number[]