diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-02 00:24:09 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-02 00:25:35 +0200 |
commit | a859c37ee0126e0daca711893da1cbf6138ec25b (patch) | |
tree | 9c33dcd72f640cd9ce8cda1b185429362a837677 /include/formula | |
parent | InitSymbolsPODF() from RID_STRLIST_FUNCTION_NAMES_ENGLISH_PODF (diff) | |
download | core-a859c37ee0126e0daca711893da1cbf6138ec25b.tar.gz core-a859c37ee0126e0daca711893da1cbf6138ec25b.zip |
introduce mxSymbolsAPI and InitSymbolsAPI()
Change-Id: I1c4673a25bb0f686e0705f87318a04166e6688bb
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/FormulaCompiler.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index adad03f9aad4..0b2486b5f146 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -147,6 +147,8 @@ public: /// Is it an ODF 1.1 compatibility mapping? inline bool isPODF() const { return FormulaGrammar::isPODF( meGrammar); } + /* TODO: add isAPI() once a FormulaLanguage was added. */ + /// Is it an ODFF / ODF 1.2 mapping? inline bool isODFF() const { return FormulaGrammar::isODFF( meGrammar); } @@ -350,6 +352,7 @@ private: void InitSymbolsNative() const; /// only SymbolsNative, on first document creation void InitSymbolsEnglish() const; /// only SymbolsEnglish, maybe later void InitSymbolsPODF() const; /// only SymbolsPODF, on demand + void InitSymbolsAPI() const; /// only SymbolsAPI, on demand void InitSymbolsODFF() const; /// only SymbolsODFF, on demand void InitSymbolsEnglishXL() const; /// only SymbolsEnglishXL, on demand void InitSymbolsOOXML() const; /// only SymbolsOOXML, on demand @@ -406,6 +409,7 @@ private: mutable NonConstOpCodeMapPtr mxSymbolsODFF; // ODFF symbols mutable NonConstOpCodeMapPtr mxSymbolsPODF; // ODF 1.1 symbols + mutable NonConstOpCodeMapPtr mxSymbolsAPI; // XFunctionAccess API symbols mutable NonConstOpCodeMapPtr mxSymbolsNative; // native symbols mutable NonConstOpCodeMapPtr mxSymbolsEnglish; // English symbols mutable NonConstOpCodeMapPtr mxSymbolsEnglishXL; // English Excel symbols (for VBA formula parsing) |