Table of Contents

Class OdfValidationOptions

Namespace
OdfKit.Compliance
Assembly
OdfKit.dll

Provides the OdfValidationOptions API. 表示公開 ODF 驗證入口使用的選項。

public sealed class OdfValidationOptions
Inheritance
OdfValidationOptions
Inherited Members

Remarks

Prefer this options object over multi-optional parameter lists on validators. 驗證 API 請優先使用此 options 物件,避免多個尾端可選參數。

Constructors

OdfValidationOptions()

public OdfValidationOptions()

Properties

Culture

Gets or sets the culture used when generating validation issue text. 取得或設定產生驗證問題文字時使用的文化特性。

public CultureInfo? Culture { get; set; }

Property Value

CultureInfo

Default

Gets the Default value. 取得預設驗證選項。

public static OdfValidationOptions Default { get; }

Property Value

OdfValidationOptions

FileName

Gets or sets the FileName value. 取得或設定用於格式偵測與設定檔副檔名檢查的檔案名稱。

public string? FileName { get; set; }

Property Value

string

LoadOptions

Gets or sets the LoadOptions value. 取得或設定開啟封裝文件時使用的載入選項。

public OdfLoadOptions? LoadOptions { get; set; }

Property Value

OdfLoadOptions

Odf14Extended

Gets the Odf14Extended value. 取得 ODF 1.4 擴充一致性驗證選項。

public static OdfValidationOptions Odf14Extended { get; }

Property Value

OdfValidationOptions

Odf14Strict

Gets the Odf14Strict value. 取得 ODF 1.4 嚴格一致性驗證選項。

public static OdfValidationOptions Odf14Strict { get; }

Property Value

OdfValidationOptions

Profile

Gets or sets the Profile value. 取得或設定驗證時使用的相容性設定檔。

public OdfComplianceProfile? Profile { get; set; }

Property Value

OdfComplianceProfile