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