summaryrefslogtreecommitdiff
path: root/sc/inc/tokenstringcontext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/tokenstringcontext.hxx')
-rw-r--r--sc/inc/tokenstringcontext.hxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/sc/inc/tokenstringcontext.hxx b/sc/inc/tokenstringcontext.hxx
index 85b61f77b13d..3740f60146bf 100644
--- a/sc/inc/tokenstringcontext.hxx
+++ b/sc/inc/tokenstringcontext.hxx
@@ -46,6 +46,25 @@ struct SC_DLLPUBLIC TokenStringContext
TokenStringContext( const ScDocument* pDoc, formula::FormulaGrammar::Grammar eGram );
};
+class CompileFormulaContext
+{
+ ScDocument* mpDoc;
+ formula::FormulaGrammar::Grammar meGram;
+ std::vector<OUString> maTabNames;
+
+ void updateTabNames();
+
+public:
+ CompileFormulaContext( ScDocument* pDoc );
+
+ formula::FormulaGrammar::Grammar getGrammar() const;
+ void setGrammar( formula::FormulaGrammar::Grammar eGram );
+
+ const std::vector<OUString>& getTabNames() const;
+
+ ScDocument* getDoc();
+};
+
}
#endif