# RemoveNamedExpressionUndoEntry Class

# Constructors

# constructor

+ new RemoveNamedExpressionUndoEntry(namedExpression: InternalNamedExpression, content: ClipboardCell, scope?: undefined | number): RemoveNamedExpressionUndoEntry

Defined in hyperformula/src/UndoRedo.ts:409 (opens new window)

Parameters:

Name Type
namedExpression InternalNamedExpression
content ClipboardCell
scope? undefined | number

Returns: RemoveNamedExpressionUndoEntry

# Properties

# content Readonly

• content: ClipboardCell

Defined in hyperformula/src/UndoRedo.ts:412 (opens new window)


# namedExpression Readonly

• namedExpression: InternalNamedExpression

Defined in hyperformula/src/UndoRedo.ts:411 (opens new window)


# scope OptionalReadonly

• scope? : undefined | number

Defined in hyperformula/src/UndoRedo.ts:413 (opens new window)

# Methods

# doRedo

▸ doRedo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:422 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

▸ doUndo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:418 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

▸ getReferencedOldDataVersions(): number[]

Defined in hyperformula/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[]