Class RevisionCellComment
Represents a revision that adds, changes, or deletes a cell comment.
Maps to the OOXML CT_RevisionComment (element rcmt).
Inherited Members
Namespace: DRIT.Spreadsheet.Revisions
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RevisionCellComment : Revision
Constructors
RevisionCellComment()
Represents a revision that adds, changes, or deletes a cell comment.
Maps to the OOXML CT_RevisionComment (element rcmt).
Declaration
public RevisionCellComment()
Properties
Action
Gets or sets whether the comment was added or deleted.
Declaration
public RevisionActionType Action { get; set; }
Property Value
| Type | Description |
|---|---|
| RevisionActionType |
AlwaysShow
Indicates whether the comment is always shown.
Declaration
public bool AlwaysShow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Author
Specifies the author of the comment.
Declaration
public string Author { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Cell
Specifies the cell reference of the commented cell (e.g. B3).
Declaration
public string Cell { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CommentId
Specifies the GUID identifying the comment.
Declaration
public Guid CommentId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
HiddenColumn
Indicates whether the commented column is hidden.
Declaration
public bool HiddenColumn { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HiddenRow
Indicates whether the commented row is hidden.
Declaration
public bool HiddenRow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NewLength
Specifies the new length of the comment text.
Declaration
public uint NewLength { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
OldLength
Specifies the previous length of the comment text.
Declaration
public uint OldLength { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
OriginalAuthor
Indicates whether this is the original comment author.
Declaration
public bool OriginalAuthor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SheetId
Specifies the sheet identifier of the commented cell.
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 |