RevisionRenameSheet
RevisionRenameSheet class
Represents a revision of renaming sheet.
class RevisionRenameSheet extends Revision;
Constructors
Constructor | Description |
---|---|
constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
Property | Type | Description |
---|---|---|
oldName | string | Readonly. Gets the old name of the worksheet. |
newName | string | Readonly. Gets the new name of the worksheet. |
worksheet | Worksheet | Readonly. Gets the worksheet. |
id | number | Readonly. Gets the number of this revision. |
Methods
Method | Description |
---|---|
getOldName() | @deprecated. Please use the ‘oldName’ property instead. Gets the old name of the worksheet. |
getNewName() | @deprecated. Please use the ’newName’ property instead. Gets the new name of the worksheet. |
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 the revision. |
constructor(Revision)
Constructs from a parent object convertible to this.
constructor(obj: Revision);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | Revision | The parent object. |
oldName
Readonly. Gets the old name of the worksheet.
oldName : string;
newName
Readonly. Gets the new name of the worksheet.
newName : string;
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.
getOldName()
@deprecated. Please use the ‘oldName’ property instead. Gets the old name of the worksheet.
getOldName() : string;
getNewName()
@deprecated. Please use the ’newName’ property instead. Gets the new name of the worksheet.
getNewName() : string;
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 the revision.
getType() : RevisionType;
Returns