PasteUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new PasteUndoEntry(targetLeftCorner: SimpleCellAddress, oldContent: [SimpleCellAddress, ClipboardCell][], newContent: ClipboardCell[][], addedGlobalNamedExpressions: string[]): PasteUndoEntry
Defined in hyperformula/src/UndoRedo.ts:366
Parameters:
| Name | Type |
|---|---|
targetLeftCorner |
SimpleCellAddress |
oldContent |
[SimpleCellAddress, ClipboardCell][] |
newContent |
ClipboardCell[][] |
addedGlobalNamedExpressions |
string[] |
Returns: PasteUndoEntry
Properties
Section titled “Properties”addedGlobalNamedExpressions
Section titled “addedGlobalNamedExpressions”Readonly
• addedGlobalNamedExpressions: string[]
Defined in hyperformula/src/UndoRedo.ts:371
newContent
Section titled “newContent”Readonly
• newContent: ClipboardCell[][]
Defined in hyperformula/src/UndoRedo.ts:370
oldContent
Section titled “oldContent”Readonly
• oldContent: [SimpleCellAddress, ClipboardCell][]
Defined in hyperformula/src/UndoRedo.ts:369
targetLeftCorner
Section titled “targetLeftCorner”Readonly
• targetLeftCorner: SimpleCellAddress
Defined in hyperformula/src/UndoRedo.ts:368
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:380
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:376
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[]