RevisionRenameSheet

RevisionRenameSheet class

Represents a revision of renaming sheet.

class RevisionRenameSheet extends Revision;

Constructors

ConstructorDescription
constructor(Revision)Constructs from a parent object convertible to this.

Properties

PropertyTypeDescription
oldNamestringReadonly. Gets the old name of the worksheet.
newNamestringReadonly. Gets the new name of the worksheet.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
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:

ParameterTypeDescription
objRevisionThe 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

Worksheet

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

RevisionType