RevisionCellChange

RevisionCellChange class

Represents the revision that changing cells.

class RevisionCellChange extends Revision;

Constructors

NameDescription
constructor(Revision)Constructs from a parent object convertible to this.

Properties

PropertyTypeDescription
cellNamestringReadonly. Gets the name of the cell.
rownumberReadonly. Gets the row index of the cell.
columnnumberReadonly. Gets the column index of the cell.
isNewFormattedbooleanReadonly. Indicates whether this cell is new formatted.
isOldFormattedbooleanReadonly. Indicates whether this cell is old formatted.
oldFormulastringReadonly. Gets the old formula.
oldValueVObjectReadonly. Gets old value of the cell.
newValueVObjectReadonly. Gets new value of the cell.
newFormulastringReadonly. Gets the old formula.
newStyleStyleReadonly. Gets the new style of the cell.
oldStyleStyleReadonly. Gets the old style of the cell.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
getType()Represents the type of revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

cellName

Readonly. Gets the name of the cell.

cellName : string;

row

Readonly. Gets the row index of the cell.

row : number;

column

Readonly. Gets the column index of the cell.

column : number;

isNewFormatted

Readonly. Indicates whether this cell is new formatted.

isNewFormatted : boolean;

isOldFormatted

Readonly. Indicates whether this cell is old formatted.

isOldFormatted : boolean;

oldFormula

Readonly. Gets the old formula.

oldFormula : string;

oldValue

Readonly. Gets old value of the cell.

oldValue : VObject;

newValue

Readonly. Gets new value of the cell.

newValue : VObject;

newFormula

Readonly. Gets the old formula.

newFormula : string;

newStyle

Readonly. Gets the new style of the cell.

newStyle : Style;

oldStyle

Readonly. Gets the old style of the cell.

oldStyle : Style;

worksheet

Readonly. Gets the worksheet.

worksheet : Worksheet;

id

Readonly. Gets the number of this revision.

id : number;

Remarks

Zero means this revision does not contains id.

getType()

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType