RevisionRenameSheet

RevisionRenameSheet class

Represents a revision of renaming sheet.

class RevisionRenameSheet extends Revision;

Constructors

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

Methods

MethodDescription
getType()Represents the type of the revision.
getOldName()Gets the old name of the worksheet.
getNewName()Gets the new name of the worksheet.
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:

ParameterTypeDescription
objRevisionThe parent object.

getType()

Represents the type of the revision.

getType() : RevisionType;

Returns

RevisionType

getOldName()

Gets the old name of the worksheet.

getOldName() : string;

getNewName()

Gets the new name of the worksheet.

getNewName() : string;

getWorksheet()

Gets the worksheet.

getWorksheet() : Worksheet;

Returns

Worksheet

getId()

Gets the number of this revision.

getId() : number;

Remarks

Zero means this revision does not contains id.