Table of Contents

Class NamedRangeNode

Namespace
OdfKit.Formula.AST
Assembly
OdfKit.dll

Represents an AST node for a named range. 代表具名範圍的 AST 節點。

public class NamedRangeNode : AstNode
Inheritance
NamedRangeNode
Inherited Members

Constructors

NamedRangeNode(string)

Represents an AST node for a named range. 代表具名範圍的 AST 節點。

public NamedRangeNode(string name)

Parameters

name string

The named range or named expression name. / 具名範圍或具名運算式的名稱。

Properties

Name

Gets the named range or named expression name. 取得具名範圍或具名運算式的名稱。

public string Name { get; }

Property Value

string

Methods

Evaluate(IEvaluationContext)

Performs evaluate. 執行 Evaluate。

public override object Evaluate(IEvaluationContext context)

Parameters

context IEvaluationContext

The evaluation context. / 評估內容模型。

Returns

object

The evaluated result object. / 評估後的結果物件。

GetRanges(IEvaluationContext)

Gets ranges. 取得 Ranges。

public override List<OdfCellRange> GetRanges(IEvaluationContext context)

Parameters

context IEvaluationContext

The evaluation context. / 評估內容模型。

Returns

List<OdfCellRange>

The cell range list. / 儲存格範圍清單。

Serialize()

Performs serialize. 執行 Serialize。

public override string Serialize()

Returns

string

The serialized formula string. / 序列化後的公式字串。