RevisionFormat

RevisionFormat class

Represents a revision record of information about a formatting change.

class RevisionFormat extends Revision;

Constructors

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

Methods

MethodDescription
getType()Gets the type of revision.
getAreas()The range to which this formatting was applied.
getStyle()Gets the applied style.
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()

Gets the type of revision.

getType() : RevisionType;

Returns

RevisionType

getAreas()

The range to which this formatting was applied.

getAreas() : CellArea[];

Returns

CellArea[]

getStyle()

Gets the applied style.

getStyle() : Style;

Returns

Style

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.