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.

Methods

MethodDescription
getType()Represents the type of revision.
getCellName()Gets the name of the cell.
getRow()Gets the row index of the cell.
getColumn()Gets the column index of the cell.
isNewFormatted()Indicates whether this cell is new formatted.
isOldFormatted()Indicates whether this cell is old formatted.
getOldFormula()Gets the old formula.
getNewFormula()Gets the old formula.
getNewStyle()Gets the new style of the cell.
getOldStyle()Gets the old style of the cell.
getWorksheet()Gets the worksheet.
getId()Gets the number of this revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

getType()

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType

getCellName()

Gets the name of the cell.

getCellName() : string;

getRow()

Gets the row index of the cell.

getRow() : number;

getColumn()

Gets the column index of the cell.

getColumn() : number;

isNewFormatted()

Indicates whether this cell is new formatted.

isNewFormatted() : boolean;

isOldFormatted()

Indicates whether this cell is old formatted.

isOldFormatted() : boolean;

getOldFormula()

Gets the old formula.

getOldFormula() : string;

getNewFormula()

Gets the old formula.

getNewFormula() : string;

getNewStyle()

Gets the new style of the cell.

getNewStyle() : Style;

Returns

Style

getOldStyle()

Gets the old style of the cell.

getOldStyle() : Style;

Returns

Style

getWorksheet()

Gets the worksheet.

getWorksheet() : Worksheet;

Returns

Worksheet

getId()

Gets the number of this revision.

getId() : number;

Remarks

Zero means this revision does not contains id.