Table of Contents

Class OdfObjectUpdateOptions

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Configures key-based object updates for spreadsheet tables. 設定試算表資料表的 key-based 物件更新。

public sealed class OdfObjectUpdateOptions : OdfObjectBindingOptions
Inheritance
OdfObjectUpdateOptions
Inherited Members

Constructors

OdfObjectUpdateOptions()

public OdfObjectUpdateOptions()

Properties

CopyStylesFromTemplateRow

Gets or sets whether inserted rows copy styles from the template row. 取得或設定新增資料列是否從模板列複製樣式。

public bool CopyStylesFromTemplateRow { get; set; }

Property Value

bool

FillFormulasFromTemplateRow

Gets or sets whether inserted rows copy formulas from the template row. 取得或設定新增資料列是否從模板列複製公式。

public bool FillFormulasFromTemplateRow { get; set; }

Property Value

bool

FormulaCopyMode

Gets or sets how formulas are copied from the template row. 取得或設定如何從模板列複製公式。

public OdfFormulaCopyMode FormulaCopyMode { get; set; }

Property Value

OdfFormulaCopyMode

KeyColumn

Gets or sets the mapped header or property name used as the row key. 取得或設定作為資料列 key 的對應標題或屬性名稱。

public string? KeyColumn { get; set; }

Property Value

string

KeyComparer

Gets or sets the comparer used for key matching. 取得或設定 key 比對使用的比較器。

public StringComparer KeyComparer { get; set; }

Property Value

StringComparer

MissingKeyPolicy

Gets or sets how missing object keys are handled. 取得或設定缺少物件 key 時的處理方式。

public OdfObjectMissingKeyPolicy MissingKeyPolicy { get; set; }

Property Value

OdfObjectMissingKeyPolicy

PreserveDataStyles

Gets or sets whether existing data cell styles are preserved during updates. 取得或設定更新時是否保留既有資料儲存格樣式。

public bool PreserveDataStyles { get; set; }

Property Value

bool

PreserveUnmappedCells

Gets or sets whether cells not mapped to object properties are preserved. 取得或設定是否保留未對應至物件屬性的儲存格。

public bool PreserveUnmappedCells { get; set; }

Property Value

bool

ResizeTable

Gets or sets whether the practical table metadata is resized after inserting rows. 取得或設定新增資料列後是否調整 practical table metadata。

public bool ResizeTable { get; set; }

Property Value

bool