AddNamedExpressionUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new AddNamedExpressionUndoEntry(name: string, newContent: RawCellContent, scope?: undefined | number, options?: NamedExpressionOptions): AddNamedExpressionUndoEntry
Defined in hyperformula/src/UndoRedo.ts:385
Parameters:
| Name | Type |
|---|---|
name |
string |
newContent |
RawCellContent |
scope? |
undefined | number |
options? |
NamedExpressionOptions |
Returns: AddNamedExpressionUndoEntry
Properties
Section titled “Properties”Readonly
• name: string
Defined in hyperformula/src/UndoRedo.ts:387
newContent
Section titled “newContent”Readonly
• newContent: RawCellContent
Defined in hyperformula/src/UndoRedo.ts:388
options
Section titled “options”OptionalReadonly
• options? : NamedExpressionOptions
Defined in hyperformula/src/UndoRedo.ts:390
OptionalReadonly
• scope? : undefined | number
Defined in hyperformula/src/UndoRedo.ts:389
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:399
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:395
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[]