RevisionFormat
Contents
[
Hide
]RevisionFormat class
Represents a revision record of information about a formatting change.
class RevisionFormat extends Revision;
Constructors
| Name | 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 |
|---|---|
| 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.
getType()
Gets the type of revision.
getType() : RevisionType;
Returns