diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-29 21:18:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-30 11:37:19 -0400 |
commit | 9e4a067a9713dd4d03495d6a0e18d5f95e973692 (patch) | |
tree | b7da1b6aac5ba9fa6c27e49473a8722311a0eb7e /sc/inc/formulaopt.hxx | |
parent | 00134920ec968ff492c88d8c5a6af22f1ebfa328 (diff) |
Use the new option when interpreting INDIRECT function.
Change-Id: Ic9ba214e5bbee64287934437fcdb63117a1146f6
Diffstat (limited to 'sc/inc/formulaopt.hxx')
-rw-r--r-- | sc/inc/formulaopt.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx index 50d3b9cb2ce3..8186d8aab6cf 100644 --- a/sc/inc/formulaopt.hxx +++ b/sc/inc/formulaopt.hxx @@ -40,7 +40,8 @@ class SC_DLLPUBLIC ScFormulaOptions { private: bool bUseEnglishFuncName; // use English function name even if the locale is not English. - ::formula::FormulaGrammar::Grammar eFormulaGrammar; // formula grammar used to switch different formula syntax + formula::FormulaGrammar::Grammar eFormulaGrammar; // formula grammar used to switch different formula syntax + formula::FormulaGrammar::AddressConvention eIndirectFuncRefSyntax; ::rtl::OUString aFormulaSepArg; ::rtl::OUString aFormulaSepArrayRow; @@ -56,6 +57,9 @@ public: void SetFormulaSyntax( ::formula::FormulaGrammar::Grammar eGram ) { eFormulaGrammar = eGram; } ::formula::FormulaGrammar::Grammar GetFormulaSyntax() const { return eFormulaGrammar; } + void SetIndirectFuncSyntax(formula::FormulaGrammar::AddressConvention eConv) { eIndirectFuncRefSyntax = eConv; } + formula::FormulaGrammar::AddressConvention GetIndirectFuncSyntax() const { return eIndirectFuncRefSyntax; } + void SetUseEnglishFuncName( bool bVal ) { bUseEnglishFuncName = bVal; } bool GetUseEnglishFuncName() const { return bUseEnglishFuncName; } @@ -77,7 +81,6 @@ public: ScFormulaOptions& operator= ( const ScFormulaOptions& rCpy ); bool operator== ( const ScFormulaOptions& rOpt ) const; bool operator!= ( const ScFormulaOptions& rOpt ) const; - }; //================================================================== |