diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-10 11:19:38 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-10 15:17:55 +0100 |
commit | 34c157e0032e182a044979ce210009decb20e755 (patch) | |
tree | b00b1b2ff37f93b44f91ec2de7c19b4febfc7ddd /sc/inc/formulaopt.hxx | |
parent | 688c668003739042c2431ec3f7a94d6b3ac6998a (diff) |
improve the recalc dialog for ooxml
Change-Id: I94ea2d52f86a340ce3802ea4b63642cfc637bd2d
Diffstat (limited to 'sc/inc/formulaopt.hxx')
-rw-r--r-- | sc/inc/formulaopt.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx index 7cc2dd8fe7fe..4f07c40e3c21 100644 --- a/sc/inc/formulaopt.hxx +++ b/sc/inc/formulaopt.hxx @@ -37,6 +37,14 @@ #include "global.hxx" #include "calcconfig.hxx" +// have to match the registry values +enum SC_DLLPUBLIC ScRecalcOptions +{ + RECALC_ALWAYS = 0, + RECALC_ASK = 1, + RECALC_NEVER = 2 +}; + class SC_DLLPUBLIC ScFormulaOptions { private: @@ -48,6 +56,8 @@ private: ::rtl::OUString aFormulaSepArrayRow; ::rtl::OUString aFormulaSepArrayCol; + ScRecalcOptions meOOXMLRecalc; + public: ScFormulaOptions(); ScFormulaOptions( const ScFormulaOptions& rCpy ); @@ -74,6 +84,9 @@ public: void SetFormulaSepArrayCol(const ::rtl::OUString& rSep) { aFormulaSepArrayCol = rSep; } ::rtl::OUString GetFormulaSepArrayCol() const { return aFormulaSepArrayCol; } + void SetOOXMLRecalcOptions( ScRecalcOptions eOpt ) { meOOXMLRecalc = eOpt; } + ScRecalcOptions GetOOXMLRecalcOptions() const { return meOOXMLRecalc; } + void ResetFormulaSeparators(); static void GetDefaultFormulaSeparators(rtl::OUString& rSepArg, rtl::OUString& rSepArrayCol, rtl::OUString& rSepArrayRow); |