RevisionDefinedName
RevisionDefinedName class
Represents a revision record of a defined name change.
class RevisionDefinedName extends Revision;
Constructors
| Constructor | Description |
|---|---|
| constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| text | string | Readonly. Gets the text of the defined name. |
| oldFormula | string | Readonly. Gets the old formula. |
| newFormula | string | Readonly. Gets the formula. |
| worksheet | Worksheet | Readonly. Gets the worksheet. |
| id | number | Readonly. Gets the number of this revision. |
Methods
| Method | Description |
|---|---|
| getText() | @deprecated. Please use the ’text’ property instead. Gets the text of the defined name. |
| getOldFormula() | @deprecated. Please use the ‘oldFormula’ property instead. Gets the old formula. |
| getNewFormula() | @deprecated. Please use the ’newFormula’ property instead. Gets the formula. |
| 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() | Represents 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. |
text
Readonly. Gets the text of the defined name.
text : string;
oldFormula
Readonly. Gets the old formula.
oldFormula : string;
newFormula
Readonly. Gets the formula.
newFormula : 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.
getText()
@deprecated. Please use the ’text’ property instead. Gets the text of the defined name.
getText() : string;
getOldFormula()
@deprecated. Please use the ‘oldFormula’ property instead. Gets the old formula.
getOldFormula() : string;
getNewFormula()
@deprecated. Please use the ’newFormula’ property instead. Gets the formula.
getNewFormula() : string;
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()
Represents the type of revision.
getType() : RevisionType;
Returns