ChangeNamedExpressionUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new ChangeNamedExpressionUndoEntry(namedExpression: InternalNamedExpression, newContent: RawCellContent, oldContent: ClipboardCell, scope?: undefined | number, options?: NamedExpressionOptions): ChangeNamedExpressionUndoEntry
Defined in hyperformula/src/UndoRedo.ts:422
Parameters:
| Name | Type |
|---|---|
namedExpression |
InternalNamedExpression |
newContent |
RawCellContent |
oldContent |
ClipboardCell |
scope? |
undefined | number |
options? |
NamedExpressionOptions |
Returns: ChangeNamedExpressionUndoEntry
Properties
Section titled “Properties”namedExpression
Section titled “namedExpression”Readonly
• namedExpression: InternalNamedExpression
Defined in hyperformula/src/UndoRedo.ts:424
newContent
Section titled “newContent”Readonly
• newContent: RawCellContent
Defined in hyperformula/src/UndoRedo.ts:425
oldContent
Section titled “oldContent”Readonly
• oldContent: ClipboardCell
Defined in hyperformula/src/UndoRedo.ts:426
options
Section titled “options”OptionalReadonly
• options? : NamedExpressionOptions
Defined in hyperformula/src/UndoRedo.ts:428
OptionalReadonly
• scope? : undefined | number
Defined in hyperformula/src/UndoRedo.ts:427
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:437
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:433
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[]