Table of Contents

Class ParsingContext

Namespace
OfficeOpenXml.FormulaParsing
Assembly
EPPlus.dll

Parsing context

public class ParsingContext : IParsingLifetimeEventHandler
Inheritance
ParsingContext
Implements
Inherited Members

Properties

Configuration

Configuration

public ParsingConfiguration Configuration { get; set; }

Property Value

ParsingConfiguration

CurrentCell

Represents the current cell

public FormulaCellAddress CurrentCell { get; set; }

Property Value

FormulaCellAddress

CurrentWorksheet

The worksheet where the current formula is located.

public ExcelWorksheet CurrentWorksheet { get; }

Property Value

ExcelWorksheet

Debug

Returns true if a IFormulaParserLogger is attached to the parser.

public bool Debug { get; }

Property Value

bool

NameValueProvider

INameValueProvider of the current context

public INameValueProvider NameValueProvider { get; set; }

Property Value

INameValueProvider

Parser

The FormulaParser of the current context.

public FormulaParser Parser { get; set; }

Property Value

FormulaParser

Methods

Create()

Factory method

public static ParsingContext Create()

Returns

ParsingContext

Create(ExcelPackage)

Factory method.

public static ParsingContext Create(ExcelPackage package)

Parameters

package ExcelPackage

The ExcelPackage where calculation is done

Returns

ParsingContext