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.

Methods

MethodDescription
getType()Represents the type of revision.
getText()Gets the text of the defined name.
getOldFormula()Gets the old formula.
getNewFormula()Gets the formula.
isNull()Checks whether the implementation object is null.
getWorksheet()Gets the worksheet.
getId()Gets the number of this revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

getType()

Represents the type of revision.

getType() : RevisionType;

Returns

RevisionType

getText()

Gets the text of the defined name.

getText() : string;

getOldFormula()

Gets the old formula.

getOldFormula() : string;

getNewFormula()

Gets the formula.

getNewFormula() : string;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getWorksheet()

Gets the worksheet.

getWorksheet() : Worksheet;

Returns

Worksheet

getId()

Gets the number of this revision.

getId() : number;

Remarks

Zero means this revision does not contains id.