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.

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
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.

getType()

Represents the type of the revision.

getType() : RevisionType;

Returns

RevisionType