RevisionInsertSheet

RevisionInsertSheet class

Represents a revision record of a sheet that was inserted.

class RevisionInsertSheet extends Revision;

Constructors

ConstructorDescription
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
getActionType()@deprecated. Please use the ‘actionType’ property instead. Gets the action type of the revision.
getName()@deprecated. Please use the ’name’ property instead. Gets the name of the worksheet.
getSheetPosition()@deprecated. Please use the ‘sheetPosition’ property instead. Gets the zero based position of the new sheet in the sheet tab bar.
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()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.

getActionType()

@deprecated. Please use the ‘actionType’ property instead. Gets the action type of the revision.

getActionType() : RevisionActionType;

Returns

RevisionActionType

getName()

@deprecated. Please use the ’name’ property instead. Gets the name of the worksheet.

getName() : string;

getSheetPosition()

@deprecated. Please use the ‘sheetPosition’ property instead. 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()

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

Gets the type of revision.

getType() : RevisionType;

Returns

RevisionType