RevisionDefinedName

RevisionDefinedName class

Represents a revision record of a defined name change.

class RevisionDefinedName extends Revision;

Constructors

NameDescription
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
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.

getType()

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType