RevisionAutoFormat

RevisionAutoFormat class

represents a revision record of information about a formatting change.

class RevisionAutoFormat extends Revision;

Constructors

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

Properties

PropertyTypeDescription
cellAreaCellAreaReadonly. Gets the location where the formatting was applied.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
getCellArea()@deprecated. Please use the ‘cellArea’ property instead. Gets the location where the formatting was applied.
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 the revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

cellArea

Readonly. Gets the location where the formatting was applied.

cellArea : CellArea;

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.

getCellArea()

@deprecated. Please use the ‘cellArea’ property instead. Gets the location where the formatting was applied.

getCellArea() : CellArea;

Returns

CellArea

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

Gets the type of the revision.

getType() : RevisionType;

Returns

RevisionType