Class OdfSpreadsheetTrackedChangeInfo
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Represents summary information for a tracked change in an ODS spreadsheet. 表示 ODS 試算表上一筆追蹤修訂的摘要資訊。
public sealed class OdfSpreadsheetTrackedChangeInfo
- Inheritance
-
OdfSpreadsheetTrackedChangeInfo
- Inherited Members
Constructors
OdfSpreadsheetTrackedChangeInfo(string, OdfSpreadsheetChangeKind, string, DateTime, OdfCellAddress?, string?, string, string?, string?, string?, int?, int?, OdfCellAddress?, OdfCellAddress?)
Represents summary information for a tracked change in an ODS spreadsheet. 表示 ODS 試算表上一筆追蹤修訂的摘要資訊。
public OdfSpreadsheetTrackedChangeInfo(string changeId, OdfSpreadsheetChangeKind kind, string author, DateTime changedAt, OdfCellAddress? cellAddress, string? previousContent, string acceptanceState, string? previousFormula = null, string? sheetName = null, string? structuralType = null, int? structuralPosition = null, int? structuralCount = null, OdfCellAddress? sourceAddress = null, OdfCellAddress? targetAddress = null)
Parameters
changeIdstringThe change identifier from
table:id. / 修訂識別碼(table:id)。kindOdfSpreadsheetChangeKindThe change kind. / 修訂種類。
authorstringThe author. / 作者。
changedAtDateTimeThe change time in UTC. / 修訂時間(UTC)。
cellAddressOdfCellAddress?The affected cell address, or null for non-cell content changes. / 受影響儲存格位址;非儲存格內容變更時為 null。
previousContentstringThe display text before the change, or null when unavailable. / 變更前的顯示文字;無法取得時為 null。
acceptanceStatestringThe acceptance state, such as
pending,accepted, orrejected. / 接受狀態(pending、accepted或rejected)。previousFormulastringThe formula before the change from
table:formula, or null when unavailable. / 變更前的公式(table:formula);無法取得時為 null。sheetNamestringThe sheet name containing the structural change. / 結構修訂所在工作表名稱。
structuralTypestringThe structural change type, such as
row,column, ortable. / 結構修訂類型(row、column或table)。structuralPositionint?The zero-based start position of the structural change. / 結構修訂起始位置,採 0 為基準。
structuralCountint?The number of items affected by the structural change. / 結構修訂影響數量。
sourceAddressOdfCellAddress?The source address of a move change. / 移動修訂來源位址。
targetAddressOdfCellAddress?The target address of a move change. / 移動修訂目標位址。
Properties
AcceptanceState
Gets the acceptance state. 取得接受狀態。
public string AcceptanceState { get; }
Property Value
Author
Gets the author who made the tracked change. 取得作者。
public string Author { get; }
Property Value
CellAddress
Gets the affected cell address. 取得受影響儲存格位址。
public OdfCellAddress? CellAddress { get; }
Property Value
ChangeId
Gets the change identifier. 取得修訂識別碼。
public string ChangeId { get; }
Property Value
ChangedAt
Gets the change time in UTC. 取得修訂時間(UTC)。
public DateTime ChangedAt { get; }
Property Value
Kind
Gets the change kind. 取得修訂種類。
public OdfSpreadsheetChangeKind Kind { get; }
Property Value
PreviousContent
Gets the display text before the change. 取得變更前的顯示文字。
public string? PreviousContent { get; }
Property Value
PreviousFormula
Gets the formula before the change. 取得變更前的公式。
public string? PreviousFormula { get; }
Property Value
SheetName
Gets the sheet name containing the structural change. 取得結構修訂所在工作表名稱。
public string? SheetName { get; }
Property Value
SourceAddress
Gets the source address of a move change. 取得移動修訂來源位址。
public OdfCellAddress? SourceAddress { get; }
Property Value
StructuralCount
Gets the number of items affected by the structural change. 取得結構修訂影響數量。
public int? StructuralCount { get; }
Property Value
- int?
StructuralPosition
Gets the start position of the structural change. 取得結構修訂起始位置。
public int? StructuralPosition { get; }
Property Value
- int?
StructuralType
Gets the structural change type. 取得結構修訂類型。
public string? StructuralType { get; }
Property Value
TargetAddress
Gets the target address of a move change. 取得移動修訂目標位址。
public OdfCellAddress? TargetAddress { get; }