# 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:50 (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:57 (opens new window)


# destinationLeftCorner Readonly

destinationLeftCorner: SimpleCellAddress

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


# height Readonly

height: number

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


# overwrittenCellsData Readonly

overwrittenCellsData: [SimpleCellAddress, ClipboardCell][]

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


# sourceLeftCorner Readonly

sourceLeftCorner: SimpleCellAddress

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


# version Readonly

version: number

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


# width Readonly

width: number

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

# Methods

# doRedo

doRedo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

doUndo(undoRedo: UndoRedo): void

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

Parameters:

Name Type
undoRedo UndoRedo

Returns: void