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.

Properties

PropertyTypeDescription
areasCellArea[]Readonly. The range to which this formatting was applied.
styleStyleReadonly. Gets the applied style.
worksheetWorksheetReadonly. Gets the worksheet.
idnumberReadonly. Gets the number of this revision.

Methods

MethodDescription
getType()Gets the type of revision.

constructor(Revision)

Constructs from a parent object convertible to this.

constructor(obj: Revision);

Parameters:

ParameterTypeDescription
objRevisionThe parent object.

areas

Readonly. The range to which this formatting was applied.

areas : CellArea[];

style

Readonly. Gets the applied style.

style : Style;

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

Gets the type of revision.

getType() : RevisionType;

Returns

RevisionType