RemoveSheetUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new RemoveSheetUndoEntry(sheetName: string, sheetId: number, oldSheetContent: ClipboardCell[][], scopedNamedExpressions: [InternalNamedExpression, ClipboardCell][]): RemoveSheetUndoEntry
Defined in hyperformula/src/UndoRedo.ts:276
Parameters:
| Name | Type |
|---|---|
sheetName |
string |
sheetId |
number |
oldSheetContent |
ClipboardCell[][] |
scopedNamedExpressions |
[InternalNamedExpression, ClipboardCell][] |
Returns: RemoveSheetUndoEntry
Properties
Section titled “Properties”oldSheetContent
Section titled “oldSheetContent”Readonly
• oldSheetContent: ClipboardCell[][]
Defined in hyperformula/src/UndoRedo.ts:280
scopedNamedExpressions
Section titled “scopedNamedExpressions”Readonly
• scopedNamedExpressions: [InternalNamedExpression, ClipboardCell][]
Defined in hyperformula/src/UndoRedo.ts:281
sheetId
Section titled “sheetId”Readonly
• sheetId: number
Defined in hyperformula/src/UndoRedo.ts:279
sheetName
Section titled “sheetName”Readonly
• sheetName: string
Defined in hyperformula/src/UndoRedo.ts:278
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:290
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:286
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[]