Table of Contents

Class OdfObjectReadOptions

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Configures spreadsheet-to-object binding. 設定試算表讀回物件的繫結行為。

public class OdfObjectReadOptions
Inheritance
OdfObjectReadOptions
Derived
Inherited Members

Constructors

OdfObjectReadOptions()

public OdfObjectReadOptions()

Properties

ColumnMap

Gets or sets the explicit property-to-column map. 取得或設定明確的屬性與欄位對應。

public OdfObjectColumnMap? ColumnMap { get; set; }

Property Value

OdfObjectColumnMap

ConversionErrorPolicy

Gets or sets how conversion errors are handled. 取得或設定轉換錯誤的處理方式。

public OdfObjectConversionErrorPolicy ConversionErrorPolicy { get; set; }

Property Value

OdfObjectConversionErrorPolicy

CultureInfo

Gets or sets the culture used for string conversions. 取得或設定字串轉換使用的文化特性。

public CultureInfo? CultureInfo { get; set; }

Property Value

CultureInfo

DataStartRow

Gets or sets the zero-based first data row offset within the supplied range. 取得或設定指定範圍內 0 基準的第一個資料列位移。

public int DataStartRow { get; set; }

Property Value

int

DuplicateHeaderPolicy

Gets or sets how duplicate header cells are handled. 取得或設定重複標題儲存格的處理方式。

public OdfObjectDuplicateHeaderPolicy DuplicateHeaderPolicy { get; set; }

Property Value

OdfObjectDuplicateHeaderPolicy

HeaderRow

Gets or sets the zero-based header row offset within the supplied range. 取得或設定指定範圍內 0 基準的標題列位移。

public int HeaderRow { get; set; }

Property Value

int

MissingColumnPolicy

Gets or sets how missing columns are handled. 取得或設定缺少欄位時的處理方式。

public OdfObjectMissingColumnPolicy MissingColumnPolicy { get; set; }

Property Value

OdfObjectMissingColumnPolicy

Report

Gets or sets the optional binding report populated while reading. 取得或設定讀取時填入的選用繫結報告。

public OdfObjectBindingReport? Report { get; set; }

Property Value

OdfObjectBindingReport

StopAtFirstEmptyRow

Gets or sets whether reading stops at the first empty data row. 取得或設定是否在第一個空白資料列停止讀取。

public bool StopAtFirstEmptyRow { get; set; }

Property Value

bool

UnknownColumnPolicy

Gets or sets how unknown spreadsheet columns are handled. 取得或設定未知試算表欄位的處理方式。

public OdfObjectUnknownColumnPolicy UnknownColumnPolicy { get; set; }

Property Value

OdfObjectUnknownColumnPolicy