<< Return to Main Index

< Return to Class Index

Formula Engine

CGXFormulaSheet The CGXFormulaSheet class provides an interface to the Objective Grid formula engine. CGXFormulaSheet can be attached to a CGXGridCore object and replace the CGXData object that holds all the cell data. CGXFormulaSheet has special overrides for GetStyleRowCol and StoreStyleRowCol so that whenever cells are changed in the grid the actual change will be directly stored in the formula engine. Also other operations like moving, removing and inserting cells will be forwarded to the engine by overrides in CGXFormulaSheet.
CGXWorksheetFunctions The CGXWorksheetFunctions class provides an extensible interface to the formula engine where you specify what worksheet functions should get linked into your application and where you can also add your own custom worksheet functions to the engine.
CGXDefaultWorksheetFunctions This class has a lookup table with all built-in worksheet functions.
CGXFormula CGXFormula is used by the CGXFormulaSheet::ParseExpression method to store a compiled formula expression in binary form. You can later pass this CGXFormula object to EvaluateExpression.