# OdsFormulaEvaluator

Bounded, side-effect-free evaluator for a documented OpenFormula subset.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdsFormulaEvaluator.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/Formulas/OdsFormulaEvaluator.cs#L8)

**Modifiers**

static

Bounded, side-effect-free evaluator for a documented OpenFormula subset.

## Inheritance

- object
- OdsFormulaEvaluator

Filter members 

Show inherited

## Methods

`public static OdsFormulaEvaluationResult EvaluateCell(OdsDocument document, string sheetName, long row, long column, OdsFormulaEvaluationOptions? options = null)` [#](#method-evaluatecell-officeimo-opendocument-odsdocument-string-int64-int64-officeimo-opendocument-odsformulaevaluationoptions)

[OdsFormulaEvaluator.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/Formulas/OdsFormulaEvaluator.cs#L8)

Evaluates a formula cell without changing its cached value.

Parameters

**document OfficeIMO.OpenDocument.OdsDocument required**

**sheetName string required**

**row long required**

**column long required**

**options OfficeIMO.OpenDocument.OdsFormulaEvaluationOptions? = null optional**

Returns

`OdsFormulaEvaluationResult`

`public static OdsFormulaEvaluationResult EvaluateExpression(OdsDocument document, string sheetName, string formula, OdsFormulaEvaluationOptions? options = null)` [#](#method-evaluateexpression-officeimo-opendocument-odsdocument-string-string-officeimo-opendocument-odsformulaevaluationoptions)

[OdsFormulaEvaluator.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Spreadsheet/Formulas/OdsFormulaEvaluator.cs#L20)

Evaluates an OpenFormula expression in the context of a worksheet.

Parameters

**document OfficeIMO.OpenDocument.OdsDocument required**

**sheetName string required**

**formula string required**

**options OfficeIMO.OpenDocument.OdsFormulaEvaluationOptions? = null optional**

Returns

`OdsFormulaEvaluationResult`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:578F3F4FBE1FA4E757FEC1C9D78486AE708F67DFBD4B056FC535E010CC8E135E -->
