Class ParsingContext
Parsing context
Inheritance
Object
ParsingContext
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll
Syntax
public class ParsingContext
Properties
Configuration
Configuration
Declaration
public ParsingConfiguration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| ParsingConfiguration |
CurrentCell
Represents the current cell
Declaration
public FormulaCellAddress CurrentCell { get; set; }
Property Value
| Type | Description |
|---|---|
| FormulaCellAddress |
CurrentWorksheet
The worksheet where the current formula is located.
Declaration
public ExcelWorksheet CurrentWorksheet { get; }
Property Value
| Type | Description |
|---|---|
| ExcelWorksheet |
Debug
Returns true if a IFormulaParserLogger is attached to the parser.
Declaration
public bool Debug { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
NameValueProvider
INameValueProvider of the current context
Declaration
public INameValueProvider NameValueProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| INameValueProvider |
Parser
The FormulaParser of the current context.
Declaration
public FormulaParser Parser { get; set; }
Property Value
| Type | Description |
|---|---|
| FormulaParser |
Methods
Create()
Factory method
Declaration
public static ParsingContext Create()
Returns
| Type | Description |
|---|---|
| ParsingContext |
Create(ExcelPackage)
Factory method.
Declaration
public static ParsingContext Create(ExcelPackage package)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelPackage | package | The ExcelPackage where calculation is done |
Returns
| Type | Description |
|---|---|
| ParsingContext |