Class ParsingConfiguration
Configuration of a FormulaParser
Inheritance
System.Object
ParsingConfiguration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll
Syntax
public class ParsingConfiguration
Properties
AllowCircularReferences
Configures the formula calc engine to allow circular references.
Declaration
public bool AllowCircularReferences { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CacheExpressions
If EPPlus will should cache expressions or not. Default is true.
Declaration
public bool CacheExpressions { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
FunctionRepository
The FunctionRepository of the parser
Declaration
public FunctionRepository FunctionRepository { get; }
Property Value
Type | Description |
---|---|
FunctionRepository |
Logger
The IFormulaParserLogger of the parser
Declaration
public IFormulaParserLogger Logger { get; }
Property Value
Type | Description |
---|---|
IFormulaParserLogger |
PrecisionAndRoundingStrategy
In some functions EPPlus will round double values to 15 significant figures before the value is handled. This is an option for Excel compatibility.
Declaration
public PrecisionAndRoundingStrategy PrecisionAndRoundingStrategy { get; }
Property Value
Type | Description |
---|---|
PrecisionAndRoundingStrategy |
Methods
AttachLogger(IFormulaParserLogger)
Attaches a logger, errors and log entries will be written to the logger during the parsing process.
Declaration
public ParsingConfiguration AttachLogger(IFormulaParserLogger logger)
Parameters
Type | Name | Description |
---|---|---|
IFormulaParserLogger | logger |
Returns
Type | Description |
---|---|
ParsingConfiguration |
DetachLogger()
if a logger is attached it will be removed.
Declaration
public ParsingConfiguration DetachLogger()
Returns
Type | Description |
---|---|
ParsingConfiguration |