RevisionInsertSheet

RevisionInsertSheet class

Represents a revision record of a sheet that was inserted.

class RevisionInsertSheet extends Revision;

Constructors

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

Properties

PropertyTypeDescription
actionTypeRevisionActionTypeReadonly. Gets the action type of the revision.
namestringReadonly. Gets the name of the worksheet.
sheetPositionnumberReadonly. Gets the zero based position of the new sheet in the sheet tab bar.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
getType()Gets the type of revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

actionType

Readonly. Gets the action type of the revision.

actionType : RevisionActionType;

name

Readonly. Gets the name of the worksheet.

name : string;

sheetPosition

Readonly. Gets the zero based position of the new sheet in the sheet tab bar.

sheetPosition : number;

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()

Gets the type of revision.

getType() : RevisionType;

Returns

RevisionType