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.

Methods

MethodDescription
getType()Gets the type of revision.
getActionType()Gets the action type of the revision.
getName()Gets the name of the worksheet.
getSheetPosition()Gets the zero based position of the new sheet in the sheet tab bar.
isNull()Checks whether the implementation object is null.
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()

Gets the type of revision.

getType() : RevisionType;

Returns

RevisionType

getActionType()

Gets the action type of the revision.

getActionType() : RevisionActionType;

Returns

RevisionActionType

getName()

Gets the name of the worksheet.

getName() : string;

getSheetPosition()

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

getSheetPosition() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

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.