RevisionCellChange
Contents
[
Hide
]RevisionCellChange class
Represents the revision that changing cells.
class RevisionCellChange extends Revision;
Constructors
| Name | 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 | VObject | Readonly. Gets old value of the cell. |
| newValue | VObject | 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 |
|---|---|
| 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 : 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