Table of Contents

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

changeId string

The change identifier from table:id. / 修訂識別碼(table:id)。

kind OdfSpreadsheetChangeKind

The change kind. / 修訂種類。

author string

The author. / 作者。

changedAt DateTime

The change time in UTC. / 修訂時間(UTC)。

cellAddress OdfCellAddress?

The affected cell address, or null for non-cell content changes. / 受影響儲存格位址;非儲存格內容變更時為 null

previousContent string

The display text before the change, or null when unavailable. / 變更前的顯示文字;無法取得時為 null

acceptanceState string

The acceptance state, such as pending, accepted, or rejected. / 接受狀態(pendingacceptedrejected)。

previousFormula string

The formula before the change from table:formula, or null when unavailable. / 變更前的公式(table:formula);無法取得時為 null

sheetName string

The sheet name containing the structural change. / 結構修訂所在工作表名稱。

structuralType string

The structural change type, such as row, column, or table. / 結構修訂類型(rowcolumntable)。

structuralPosition int?

The zero-based start position of the structural change. / 結構修訂起始位置,採 0 為基準。

structuralCount int?

The number of items affected by the structural change. / 結構修訂影響數量。

sourceAddress OdfCellAddress?

The source address of a move change. / 移動修訂來源位址。

targetAddress OdfCellAddress?

The target address of a move change. / 移動修訂目標位址。

Properties

AcceptanceState

Gets the acceptance state. 取得接受狀態。

public string AcceptanceState { get; }

Property Value

string

Author

Gets the author who made the tracked change. 取得作者。

public string Author { get; }

Property Value

string

CellAddress

Gets the affected cell address. 取得受影響儲存格位址。

public OdfCellAddress? CellAddress { get; }

Property Value

OdfCellAddress?

ChangeId

Gets the change identifier. 取得修訂識別碼。

public string ChangeId { get; }

Property Value

string

ChangedAt

Gets the change time in UTC. 取得修訂時間(UTC)。

public DateTime ChangedAt { get; }

Property Value

DateTime

Kind

Gets the change kind. 取得修訂種類。

public OdfSpreadsheetChangeKind Kind { get; }

Property Value

OdfSpreadsheetChangeKind

PreviousContent

Gets the display text before the change. 取得變更前的顯示文字。

public string? PreviousContent { get; }

Property Value

string

PreviousFormula

Gets the formula before the change. 取得變更前的公式。

public string? PreviousFormula { get; }

Property Value

string

SheetName

Gets the sheet name containing the structural change. 取得結構修訂所在工作表名稱。

public string? SheetName { get; }

Property Value

string

SourceAddress

Gets the source address of a move change. 取得移動修訂來源位址。

public OdfCellAddress? SourceAddress { get; }

Property Value

OdfCellAddress?

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

string

TargetAddress

Gets the target address of a move change. 取得移動修訂目標位址。

public OdfCellAddress? TargetAddress { get; }

Property Value

OdfCellAddress?