diff options
author | Eike Rathke <er@openoffice.org> | 2001-05-16 09:52:53 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-05-16 09:52:53 +0000 |
commit | 228b651bce9ee9df2db5c3f47ca50e4314c464fb (patch) | |
tree | 01bf4f0c5d6f9939ad13faf6b8e26587b45a7356 /sc/source/ui/optdlg/tpcalc.cxx | |
parent | #79771#; some other little performance optimations (diff) | |
download | core-228b651bce9ee9df2db5c3f47ca50e4314c464fb.tar.gz core-228b651bce9ee9df2db5c3f47ca50e4314c464fb.zip |
#78323# new: config option enable/disable regular expressions in formulas
Diffstat (limited to 'sc/source/ui/optdlg/tpcalc.cxx')
-rw-r--r-- | sc/source/ui/optdlg/tpcalc.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx index c1f887fc192c..2fa4026c627b 100644 --- a/sc/source/ui/optdlg/tpcalc.cxx +++ b/sc/source/ui/optdlg/tpcalc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tpcalc.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2001-05-04 10:06:50 $ + * last change: $Author: er $ $Date: 2001-05-16 10:52:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -112,6 +112,7 @@ ScTpCalcOptions::ScTpCalcOptions( Window* pParent, aBtnCase ( this, ScResId( BTN_CASE ) ), aBtnCalc ( this, ScResId( BTN_CALC ) ), aBtnMatch ( this, ScResId( BTN_MATCH ) ), + aBtnRegex ( this, ScResId( BTN_REGEX ) ), aBtnLookUp ( this, ScResId( BTN_LOOKUP ) ), aBtnIterate ( this, ScResId( BTN_ITERATE ) ), aFtSteps ( this, ScResId( FT_STEPS ) ), @@ -189,6 +190,7 @@ void __EXPORT ScTpCalcOptions::Reset( const SfxItemSet& rCoreAttrs ) aBtnCase .Check( !pLocalOptions->IsIgnoreCase() ); aBtnCalc .Check( pLocalOptions->IsCalcAsShown() ); aBtnMatch .Check( pLocalOptions->IsMatchWholeCell() ); + aBtnRegex .Check( pLocalOptions->IsFormulaRegexEnabled() ); aBtnLookUp .Check( pLocalOptions->IsLookUpColRowNames() ); aBtnIterate.Check( pLocalOptions->IsIter() ); aEdSteps .SetValue( pLocalOptions->GetIterCount() ); @@ -224,6 +226,7 @@ BOOL __EXPORT ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs ) pLocalOptions->SetIgnoreCase( !aBtnCase.IsChecked() ); pLocalOptions->SetCalcAsShown( aBtnCalc.IsChecked() ); pLocalOptions->SetMatchWholeCell( aBtnMatch.IsChecked() ); + pLocalOptions->SetFormulaRegexEnabled( aBtnRegex.IsChecked() ); pLocalOptions->SetLookUpColRowNames( aBtnLookUp.IsChecked() ); if ( *pLocalOptions != *pOldOptions ) |