Class RevisionFormat
Represents a revision that changes cell formatting without changing the value.
Maps to the OOXML CT_RevisionFormatting (element rfmt).
Inherited Members
Namespace: DRIT.Spreadsheet.Revisions
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RevisionFormat : Revision
Constructors
RevisionFormat()
Represents a revision that changes cell formatting without changing the value.
Maps to the OOXML CT_RevisionFormatting (element rfmt).
Declaration
public RevisionFormat()
Properties
FormatHasStyle
Indicates whether the formatting references a style.
Declaration
public bool FormatHasStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FormatUsesStyleDxf
Indicates whether the formatting references the cell style's
differential format. Maps to xfDxf.
Declaration
public bool FormatUsesStyleDxf { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Length
Specifies the length of the affected character range, for partial formatting
changes. Maps to length.
Declaration
public uint? Length { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
Ranges
Specifies the sequence of cell ranges the formatting was applied to
(the sqref attribute, space-separated).
Declaration
public string Ranges { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SheetId
Specifies the sheet identifier the formatting change applies to.
Declaration
public uint SheetId { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Start
Specifies the start index of the affected character range, for partial
formatting changes. Maps to start.
Declaration
public uint? Start { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
Type
Gets the kind of change recorded by this revision.
Declaration
public override RevisionType Type { get; }
Property Value
| Type | Description |
|---|---|
| RevisionType |