RevisionCellChange

RevisionCellChange class

Represents the revision that changing cells.

class RevisionCellChange extends Revision;

Constructors

ConstructorDescription
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.
oldValueObjectReadonly. Gets old value of the cell.
newValueObjectReadonly. 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
getCellName()@deprecated. Please use the ‘cellName’ property instead. Gets the name of the cell.
getRow()@deprecated. Please use the ‘row’ property instead. Gets the row index of the cell.
getColumn()@deprecated. Please use the ‘column’ property instead. Gets the column index of the cell.
isNewFormatted()@deprecated. Please use the ‘isNewFormatted’ property instead. Indicates whether this cell is new formatted.
isOldFormatted()@deprecated. Please use the ‘isOldFormatted’ property instead. Indicates whether this cell is old formatted.
getOldFormula()@deprecated. Please use the ‘oldFormula’ property instead. Gets the old formula.
getOldValue()@deprecated. Please use the ‘oldValue’ property instead. Gets old value of the cell.
getNewValue()@deprecated. Please use the ’newValue’ property instead. Gets new value of the cell.
getNewFormula()@deprecated. Please use the ’newFormula’ property instead. Gets the old formula.
getNewStyle()@deprecated. Please use the ’newStyle’ property instead. Gets the new style of the cell.
getOldStyle()@deprecated. Please use the ‘oldStyle’ property instead. Gets the old style of the cell.
isNull()Checks whether the implementation object is null.
getWorksheet()@deprecated. Please use the ‘worksheet’ property instead. Gets the worksheet.
getId()@deprecated. Please use the ‘id’ property instead. Gets the number of this revision.
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 : Object;

newValue

Readonly. Gets new value of the cell.

newValue : Object;

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.

getCellName()

@deprecated. Please use the ‘cellName’ property instead. Gets the name of the cell.

getCellName() : string;

getRow()

@deprecated. Please use the ‘row’ property instead. Gets the row index of the cell.

getRow() : number;

getColumn()

@deprecated. Please use the ‘column’ property instead. Gets the column index of the cell.

getColumn() : number;

isNewFormatted()

@deprecated. Please use the ‘isNewFormatted’ property instead. Indicates whether this cell is new formatted.

isNewFormatted() : boolean;

isOldFormatted()

@deprecated. Please use the ‘isOldFormatted’ property instead. Indicates whether this cell is old formatted.

isOldFormatted() : boolean;

getOldFormula()

@deprecated. Please use the ‘oldFormula’ property instead. Gets the old formula.

getOldFormula() : string;

getOldValue()

@deprecated. Please use the ‘oldValue’ property instead. Gets old value of the cell.

getOldValue() : Object;

getNewValue()

@deprecated. Please use the ’newValue’ property instead. Gets new value of the cell.

getNewValue() : Object;

getNewFormula()

@deprecated. Please use the ’newFormula’ property instead. Gets the old formula.

getNewFormula() : string;

getNewStyle()

@deprecated. Please use the ’newStyle’ property instead. Gets the new style of the cell.

getNewStyle() : Style;

Returns

Style

getOldStyle()

@deprecated. Please use the ‘oldStyle’ property instead. Gets the old style of the cell.

getOldStyle() : Style;

Returns

Style

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getWorksheet()

@deprecated. Please use the ‘worksheet’ property instead. Gets the worksheet.

getWorksheet() : Worksheet;

Returns

Worksheet

getId()

@deprecated. Please use the ‘id’ property instead. Gets the number of this revision.

getId() : number;

Remarks

Zero means this revision does not contains id.

getType()

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType