Class RevisionCellChange
Represents a revision that changes a cell's value or formatting.
Maps to the OOXML CT_RevisionCellChange (element rcc).
Inherited Members
Namespace: DRIT.Spreadsheet.Revisions
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RevisionCellChange : Revision
Constructors
RevisionCellChange()
Represents a revision that changes a cell's value or formatting.
Maps to the OOXML CT_RevisionCellChange (element rcc).
Declaration
public RevisionCellChange()
Properties
EndOfListFormulaUpdate
Indicates whether this revision updates an end-of-list
formula. Maps to endOfListFormulaUpdate.
Declaration
public bool EndOfListFormulaUpdate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasNewDifferentialFormat
Indicates whether a new differential format (ndxf)
is present. Maps to the dxf attribute.
Declaration
public bool HasNewDifferentialFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasOldDifferentialFormat
Indicates whether an old differential format (odxf)
is present.
Declaration
public bool HasOldDifferentialFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NewCellValue
Specifies the new cell value as a string (the nc child element's
serialized value).
Declaration
public string NewCellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumberFormatId
Specifies the number format identifier applied to the new cell value.
Declaration
public uint? NumberFormatId { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
OldCellValue
Specifies the original cell value as a string (the oc child element's
serialized value). May be null when the cell was previously empty.
Declaration
public string OldCellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OldFormatHasStyle
Indicates whether the old formatting references a style.
Maps to the s attribute.
Declaration
public bool OldFormatHasStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OldFormatUsesStyleDxf
Indicates whether the old formatting references the cell
style's differential format. Maps to xfDxf on the old formatting.
Declaration
public bool OldFormatUsesStyleDxf { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OldPlaceholder
Indicates whether the old cell was a placeholder.
Declaration
public bool OldPlaceholder { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OldQuotePrefix
Indicates whether the old cell value had a quote prefix.
Declaration
public bool OldQuotePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Placeholder
Indicates whether the new cell is a placeholder.
Declaration
public bool Placeholder { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
QuotePrefix
Indicates whether the new cell value has a quote prefix.
Declaration
public bool QuotePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SheetId
Specifies the sheet identifier the change applies to.
Declaration
public uint SheetId { 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 |