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. |
Methods
Method | Description |
---|---|
getType() | Gets the type of revision. |
getRow() | Gets the row index of the which contains a comment. |
getColumn() | Gets the column index of the which contains a comment. |
getCellName() | Gets the name of the cell. |
setCellName(string) | Gets the name of the cell. |
getActionType() | Gets the action type of the revision. |
isOldComment() | Indicates whether it’s an old comment. |
getOldLength() | Gets Length of the comment text added in this revision. |
getNewLength() | Gets Length of the comment before this revision was made. |
isNull() | Checks whether the implementation object is null. |
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:
Parameter | Type | Description |
---|---|---|
obj | Revision | The parent object. |
getType()
Gets the type of revision.
getType() : RevisionType;
Returns
getRow()
Gets the row index of the which contains a comment.
getRow() : number;
getColumn()
Gets the column index of the which contains a comment.
getColumn() : number;
getCellName()
Gets the name of the cell.
getCellName() : string;
setCellName(string)
Gets the name of the cell.
setCellName(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
getActionType()
Gets the action type of the revision.
getActionType() : RevisionActionType;
Returns
isOldComment()
Indicates whether it’s an old comment.
isOldComment() : boolean;
getOldLength()
Gets Length of the comment text added in this revision.
getOldLength() : number;
getNewLength()
Gets Length of the comment before this revision was made.
getNewLength() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getWorksheet()
Gets the worksheet.
getWorksheet() : Worksheet;
Returns
getId()
Gets the number of this revision.
getId() : number;
Remarks
Zero means this revision does not contains id.