menu

Document Processing

FormulaParser Class - C# Excel Library API Reference | Syncfusion

    Show / Hide Table of Contents

    FormulaParser Class

    Parses formula tokens extracted by FormulaTokenizer and converts them into tokens in RPN form.

    Inheritance
    System.Object
    FormulaParser
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class FormulaParser : Object

    Constructors

    FormulaParser(WorkbookImpl)

    Initializes new instance of the formula parser.

    Declaration
    public FormulaParser(WorkbookImpl book)
    Parameters
    Type Name Description
    WorkbookImpl book

    Parent workbook object.

    Properties

    NumberFormat

    Gets / sets number format info.

    Declaration
    public NumberFormatInfo NumberFormat { get; set; }
    Property Value
    Type
    System.Globalization.NumberFormatInfo

    Tokens

    Declaration
    public List<Ptg> Tokens { get; }
    Property Value
    Type
    System.Collections.Generic.List<Syncfusion.XlsIO.Parser.Biff_Records.Formula.Ptg>

    Methods

    SetSeparators(Char, Char)

    Sets formula separators.

    Declaration
    public void SetSeparators(char operandsSeparator, char arrayRowsSeparator)
    Parameters
    Type Name Description
    System.Char operandsSeparator

    Operand separator to set.

    System.Char arrayRowsSeparator

    Array rows separator to set.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved