RevisionFormat
RevisionFormat class
Represents a revision record of information about a formatting change.
class RevisionFormat extends Revision;
Constructors
Constructor | Description |
---|---|
constructor(Revision) | Constructs from a parent object convertible to this. |
Properties
Property | Type | Description |
---|---|---|
areas | CellArea[] | Readonly. The range to which this formatting was applied. |
style | Style | Readonly. Gets the applied style. |
worksheet | Worksheet | Readonly. Gets the worksheet. |
id | number | Readonly. Gets the number of this revision. |
Methods
Method | Description |
---|---|
getAreas() | @deprecated. Please use the ‘areas’ property instead. The range to which this formatting was applied. |
getStyle() | @deprecated. Please use the ‘style’ property instead. Gets the applied style. |
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 revision. |
constructor(Revision)
Constructs from a parent object convertible to this.
constructor(obj: Revision);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | Revision | The 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.
getAreas()
@deprecated. Please use the ‘areas’ property instead. The range to which this formatting was applied.
getAreas() : CellArea[];
Returns
CellArea[]
getStyle()
@deprecated. Please use the ‘style’ property instead. Gets the applied style.
getStyle() : Style;
Returns
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getWorksheet()
@deprecated. Please use the ‘worksheet’ property instead. Gets the worksheet.
getWorksheet() : Worksheet;
Returns
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 revision.
getType() : RevisionType;
Returns