RevisionCellChange
RevisionCellChange class
Represents the revision that changing cells.
class RevisionCellChange extends Revision;
Constructors
| Constructor | Description |
|---|---|
| constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| cellName | string | Readonly. Gets the name of the cell. |
| row | number | Readonly. Gets the row index of the cell. |
| column | number | Readonly. Gets the column index of the cell. |
| isNewFormatted | boolean | Readonly. Indicates whether this cell is new formatted. |
| isOldFormatted | boolean | Readonly. Indicates whether this cell is old formatted. |
| oldFormula | string | Readonly. Gets the old formula. |
| oldValue | Object | Readonly. Gets old value of the cell. |
| newValue | Object | Readonly. Gets new value of the cell. |
| newFormula | string | Readonly. Gets the old formula. |
| newStyle | Style | Readonly. Gets the new style of the cell. |
| oldStyle | Style | Readonly. Gets the old style of the cell. |
| worksheet | Worksheet | Readonly. Gets the worksheet. |
| id | number | Readonly. Gets the number of this revision. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| obj | Revision | The 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
getOldStyle()
@deprecated. Please use the ‘oldStyle’ property instead. Gets the old style of the cell.
getOldStyle() : Style;
Returns
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getWorksheet()
@deprecated. Please use the ‘worksheet’ property instead. Gets the worksheet.
getWorksheet() : Worksheet;
Returns
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