# MoveCellsUndoEntry Class

# Constructors

# constructor

+ new MoveCellsUndoEntry(sourceLeftCorner: SimpleCellAddress, width: number, height: number, destinationLeftCorner: SimpleCellAddress, overwrittenCellsData: [SimpleCellAddress, ClipboardCell][], addedGlobalNamedExpressions: string[], version: number): MoveCellsUndoEntry

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

Parameters:

Name Type
sourceLeftCorner SimpleCellAddress
width number
height number
destinationLeftCorner SimpleCellAddress
overwrittenCellsData [SimpleCellAddress, ClipboardCell][]
addedGlobalNamedExpressions string[]
version number

Returns: MoveCellsUndoEntry

# Properties

# addedGlobalNamedExpressions Readonly

addedGlobalNamedExpressions: string[]

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


# destinationLeftCorner Readonly

destinationLeftCorner: SimpleCellAddress

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


# height Readonly

height: number

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


# overwrittenCellsData Readonly

overwrittenCellsData: [SimpleCellAddress, ClipboardCell][]

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


# sourceLeftCorner Readonly

sourceLeftCorner: SimpleCellAddress

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


# version Readonly

version: number

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


# width Readonly

width: number

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

# Methods

# doRedo

doRedo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

doUndo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

getReferencedOldDataVersions(): number[]

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

Returns: number[]