RevisionDefinedName

RevisionDefinedName class

Represents a revision record of a defined name change.

class RevisionDefinedName extends Revision;

Constructors

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

Properties

PropertyTypeDescription
textstringReadonly. Gets the text of the defined name.
oldFormulastringReadonly. Gets the old formula.
newFormulastringReadonly. Gets the formula.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
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:

ParameterTypeDescription
objRevisionThe 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

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

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType