RevisionInsertSheet
RevisionInsertSheet class
Represents a revision record of a sheet that was inserted.
class RevisionInsertSheet extends Revision;
Constructors
| Constructor | Description |
|---|---|
| constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| actionType | RevisionActionType | Readonly. Gets the action type of the revision. |
| name | string | Readonly. Gets the name of the worksheet. |
| sheetPosition | number | Readonly. Gets the zero based position of the new sheet in the sheet tab bar. |
| worksheet | Worksheet | Readonly. Gets the worksheet. |
| id | number | Readonly. Gets the number of this revision. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| obj | Revision | The 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
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
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