summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-10 18:33:22 +0200
committerEike Rathke <erack@redhat.com>2017-07-10 21:15:28 +0200
commit741f61d0ca70069e875f6f57bf08d9aa282c0676 (patch)
treed28b7f48ede251aa9f422fc6acaf52403f947850 /include/formula
parentf6574be0e375e215e6f21830b9e09d77d01b5097 (diff)
Introduce IFormulaEditorHelper::getCompiler()
Implemented at rptui::FormulaDialog as nullptr and at ScFormulaDlg as ScCompiler* Change-Id: I0edaca56f5d9e3505ed766d43bc9ee4af80f03ff
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/IFunctionDescription.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/formula/IFunctionDescription.hxx b/include/formula/IFunctionDescription.hxx
index 40820ebbe040..3a310d704563 100644
--- a/include/formula/IFunctionDescription.hxx
+++ b/include/formula/IFunctionDescription.hxx
@@ -42,6 +42,7 @@ namespace formula
class IFunctionDescription;
class FormEditData;
class FormulaTokenArray;
+ class FormulaCompiler;
class SAL_NO_VTABLE IFunctionManager
{
@@ -133,6 +134,8 @@ namespace formula
virtual FormEditData* getFormEditData() const = 0;
virtual bool calculateValue(const OUString& _sExpression, OUString& _rResult, bool bMatrixFormula) = 0;
+ virtual std::shared_ptr<FormulaCompiler> getCompiler() const = 0;
+
virtual void switchBack() = 0;
virtual void clear() = 0;