RevisionCellComment
Contents
[
Hide
]RevisionCellComment class
Represents a revision record of a cell comment change.
class RevisionCellComment extends Revision;
Constructors
| Name | Description |
|---|---|
| constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| row | number | Readonly. Gets the row index of the which contains a comment. |
| column | number | Readonly. Gets the column index of the which contains a comment. |
| cellName | string | Gets the name of the cell. |
| actionType | RevisionActionType | Readonly. Gets the action type of the revision. |
| isOldComment | boolean | Readonly. Indicates whether it’s an old comment. |
| oldLength | number | Readonly. Gets Length of the comment text added in this revision. |
| newLength | number | Readonly. Gets Length of the comment before this revision was made. |
| worksheet | Worksheet | Readonly. Gets the worksheet. |
| id | number | Readonly. Gets the number of this revision. |
Methods
| Method | Description |
|---|---|
| getType() | Gets 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. |
row
Readonly. Gets the row index of the which contains a comment.
row : number;
column
Readonly. Gets the column index of the which contains a comment.
column : number;
cellName
Gets the name of the cell.
cellName : string;
actionType
Readonly. Gets the action type of the revision.
actionType : RevisionActionType;
isOldComment
Readonly. Indicates whether it’s an old comment.
isOldComment : boolean;
oldLength
Readonly. Gets Length of the comment text added in this revision.
oldLength : number;
newLength
Readonly. Gets Length of the comment before this revision was made.
newLength : number;
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()
Gets the type of revision.
getType() : RevisionType;
Returns