目錄 / Table of Contents

Class OdfFormulaEvaluationOptions

Namespace
OdfKit.Formula
Assembly
OdfKit.dll

Defines security, resource, and scheduling limits for spreadsheet formula evaluation. 定義試算表公式評估的安全性、資源與排程限制。

public sealed class OdfFormulaEvaluationOptions
Inheritance
OdfFormulaEvaluationOptions
Inherited Members

Constructors

OdfFormulaEvaluationOptions()

public OdfFormulaEvaluationOptions()

Properties

Evaluator

Gets or sets the evaluator instance, or null to use the built-in evaluator. 取得或設定評估器執行個體;若為 null 則使用內建評估器。

public DefaultFormulaEvaluator? Evaluator { get; set; }

Property Value

DefaultFormulaEvaluator

ExternalReferencePolicy

Gets or sets the policy for external spreadsheet references. 取得或設定外部試算表參照政策。

public OdfFormulaExternalReferencePolicy ExternalReferencePolicy { get; set; }

Property Value

OdfFormulaExternalReferencePolicy

MaxArrayResultCells

Gets or sets the maximum cumulative number of array result cells. 取得或設定累計陣列結果儲存格數量上限。

public long MaxArrayResultCells { get; set; }

Property Value

long

MaxAstDepth

Gets or sets the maximum nested syntax depth. 取得或設定語法巢狀深度上限。

public int MaxAstDepth { get; set; }

Property Value

int

MaxCellReads

Gets or sets the maximum cumulative number of cell reads. 取得或設定累計儲存格讀取次數上限。

public long MaxCellReads { get; set; }

Property Value

long

MaxDegreeOfParallelism

Gets or sets the maximum worker count, where zero selects the shared scheduler default. 取得或設定最大工作執行緒數;零表示使用共用排程器預設值。

public int MaxDegreeOfParallelism { get; set; }

Property Value

int

MaxDependencyEdges

Gets or sets the maximum number of formula dependency edges. 取得或設定公式相依邊數量上限。

public long MaxDependencyEdges { get; set; }

Property Value

long

MaxFormulaCount

Gets or sets the maximum number of formulas scanned in one evaluation. 取得或設定單次評估可掃描的公式數量上限。

public int MaxFormulaCount { get; set; }

Property Value

int

MaxFormulaLength

Gets or sets the maximum formula length in characters. 取得或設定單一公式的字元長度上限。

public int MaxFormulaLength { get; set; }

Property Value

int

MaxOperations

Gets or sets the maximum number of evaluation operations. 取得或設定評估操作次數上限。

public long MaxOperations { get; set; }

Property Value

long

TimeLimit

Gets or sets the cooperative wall-clock time limit. 取得或設定協作式經過時間上限。

public TimeSpan TimeLimit { get; set; }

Property Value

TimeSpan