|
LibreOffice Module sc (master) 1
|
#include <tpformula.hxx>
Public Member Functions | |
| ScTpFormulaOptions (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet) | |
| virtual | ~ScTpFormulaOptions () override |
| virtual bool | FillItemSet (SfxItemSet *rCoreSet) override |
| virtual void | Reset (const SfxItemSet *rCoreSet) override |
| virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
Public Member Functions inherited from SfxTabPage | |
| void | SetDialogController (SfxOkDialogController *pDialog) |
| virtual | ~SfxTabPage () override |
| void | set_visible (bool bVisible) |
| const SfxItemSet & | GetItemSet () const |
| virtual bool | FillItemSet (SfxItemSet *) |
| virtual void | Reset (const SfxItemSet *) |
| virtual bool | DeferResetToFirstActivation () |
| bool | HasExchangeSupport () const |
| void | SetExchangeSupport () |
| virtual void | ActivatePage (const SfxItemSet &) |
| virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
| void | SetUserData (const OUString &rString) |
| const OUString & | GetUserData () const |
| virtual void | FillUserData () |
| virtual bool | IsReadOnly () const |
| virtual void | PageCreated (const SfxAllItemSet &aSet) |
| virtual void | ChangesApplied () |
| void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
| css::uno::Reference< css::frame::XFrame > | GetFrame () const |
| const SfxItemSet * | GetDialogExampleSet () const |
| OUString | GetHelpId () const |
| OUString | GetConfigId () const |
| bool | IsVisible () const |
| weld::Window * | GetFrameWeld () const |
| std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
| static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet) |
Static Public Member Functions inherited from SfxTabPage | |
| static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
| void | ResetSeparators () |
| void | OnFocusSeparatorInput (weld::Entry *pEdit) |
| void | UpdateCustomCalcRadioButtons (bool bDefault) |
| void | LaunchCustomCalcSettings () |
| bool | IsValidSeparator (std::u16string_view aSep, bool bArray) const |
| DECL_LINK (ButtonHdl, weld::Button &, void) | |
| DECL_LINK (ToggleHdl, weld::Toggleable &, void) | |
| DECL_LINK (SepInsertTextHdl, OUString &, bool) | |
| DECL_LINK (ColSepInsertTextHdl, OUString &, bool) | |
| DECL_LINK (RowSepInsertTextHdl, OUString &, bool) | |
| DECL_LINK (SepModifyHdl, weld::Entry &, void) | |
| DECL_LINK (SepEditOnFocusHdl, weld::Widget &, void) | |
Private Attributes | |
| OUString | maOldSepValue |
| Stores old separator value of currently focused separator edit box. More... | |
| ScCalcConfig | maSavedConfig |
| ScCalcConfig | maCurrentConfig |
| ScDocOptions | maSavedDocOptions |
| ScDocOptions | maCurrentDocOptions |
| sal_Unicode | mnDecSep |
| std::unique_ptr< weld::ComboBox > | mxLbFormulaSyntax |
| std::unique_ptr< weld::CheckButton > | mxCbEnglishFuncName |
| std::unique_ptr< weld::RadioButton > | mxBtnCustomCalcDefault |
| std::unique_ptr< weld::RadioButton > | mxBtnCustomCalcCustom |
| std::unique_ptr< weld::Button > | mxBtnCustomCalcDetails |
| std::unique_ptr< weld::Entry > | mxEdSepFuncArg |
| std::unique_ptr< weld::Entry > | mxEdSepArrayCol |
| std::unique_ptr< weld::Entry > | mxEdSepArrayRow |
| std::unique_ptr< weld::Button > | mxBtnSepReset |
| std::unique_ptr< weld::ComboBox > | mxLbOOXMLRecalcOptions |
| std::unique_ptr< weld::ComboBox > | mxLbODFRecalcOptions |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
| SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
| sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
| TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
| const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
| SfxOkDialogController * | GetDialogController () const |
Definition at line 27 of file tpformula.hxx.
|
explicit |
Definition at line 34 of file tpformula.cxx.
References SfxItemSet::Get(), ScGlobal::getLocaleData(), LocaleDataWrapper::getNumDecimalSep(), LINK, maSavedDocOptions, mnDecSep, mxBtnCustomCalcCustom, mxBtnCustomCalcDefault, mxBtnCustomCalcDetails, mxBtnSepReset, mxEdSepArrayCol, mxEdSepArrayRow, mxEdSepFuncArg, mxLbFormulaSyntax, ScResId(), and u.
|
overridevirtual |
Definition at line 82 of file tpformula.cxx.
|
static |
Definition at line 256 of file tpformula.cxx.
Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 405 of file tpformula.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 261 of file tpformula.cxx.
References formula::FormulaGrammar::GRAM_DEFAULT, formula::FormulaGrammar::GRAM_NATIVE, formula::FormulaGrammar::GRAM_NATIVE_XL_A1, formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, ScDocOptions::IsWriteCalcConfig(), maCurrentConfig, maCurrentDocOptions, maSavedConfig, maSavedDocOptions, mxBtnCustomCalcDefault, mxCbEnglishFuncName, mxEdSepArrayCol, mxEdSepArrayRow, mxEdSepFuncArg, mxLbFormulaSyntax, mxLbODFRecalcOptions, mxLbOOXMLRecalcOptions, SfxItemSet::Put(), ScCalcConfig::reset(), ScFormulaOptions::SetCalcConfig(), ScFormulaOptions::SetFormulaSepArg(), ScFormulaOptions::SetFormulaSepArrayCol(), ScFormulaOptions::SetFormulaSepArrayRow(), ScFormulaOptions::SetFormulaSyntax(), ScFormulaOptions::SetODFRecalcOptions(), ScFormulaOptions::SetOOXMLRecalcOptions(), ScFormulaOptions::SetUseEnglishFuncName(), and ScFormulaOptions::SetWriteCalcConfig().
|
private |
|
private |
Definition at line 123 of file tpformula.cxx.
References ScCalcOptionsDialog::GetConfig(), SfxTabPage::GetFrameWeld(), ScCalcOptionsDialog::GetWriteCalcConfig(), ScDocOptions::IsWriteCalcConfig(), maCurrentConfig, maCurrentDocOptions, RET_OK, weld::DialogController::run(), and ScDocOptions::SetWriteCalcConfig().
|
private |
Definition at line 95 of file tpformula.cxx.
References weld::Entry::get_text(), maOldSepValue, and weld::Entry::select_region().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 325 of file tpformula.cxx.
References ScFormulaOptions::GetCalcConfig(), ScFormulaOptions::GetFormulaSepArg(), ScFormulaOptions::GetFormulaSepArrayCol(), ScFormulaOptions::GetFormulaSepArrayRow(), ScFormulaOptions::GetFormulaSyntax(), SfxItemSet::GetItemIfSet(), ScFormulaOptions::GetODFRecalcOptions(), ScFormulaOptions::GetOOXMLRecalcOptions(), ScFormulaOptions::GetUseEnglishFuncName(), IsValidSeparator(), maCurrentConfig, maCurrentDocOptions, maSavedConfig, maSavedDocOptions, mxBtnSepReset, mxCbEnglishFuncName, mxEdSepArrayCol, mxEdSepArrayRow, mxEdSepFuncArg, mxLbFormulaSyntax, mxLbODFRecalcOptions, mxLbOOXMLRecalcOptions, ResetSeparators(), and UpdateCustomCalcRadioButtons().
|
private |
Definition at line 86 of file tpformula.cxx.
References ScFormulaOptions::GetDefaultFormulaSeparators(), mxEdSepArrayCol, mxEdSepArrayRow, and mxEdSepFuncArg.
Referenced by Reset().
|
private |
Definition at line 107 of file tpformula.cxx.
References mxBtnCustomCalcCustom, mxBtnCustomCalcDefault, and mxBtnCustomCalcDetails.
Referenced by Reset().
|
private |
Definition at line 62 of file tpformula.hxx.
Referenced by FillItemSet(), LaunchCustomCalcSettings(), and Reset().
|
private |
Definition at line 65 of file tpformula.hxx.
Referenced by FillItemSet(), LaunchCustomCalcSettings(), and Reset().
|
private |
Stores old separator value of currently focused separator edit box.
This value is used to revert undesired value change.
Definition at line 59 of file tpformula.hxx.
Referenced by OnFocusSeparatorInput().
|
private |
Definition at line 61 of file tpformula.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 64 of file tpformula.hxx.
Referenced by FillItemSet(), Reset(), and ScTpFormulaOptions().
|
private |
Definition at line 67 of file tpformula.hxx.
Referenced by IsValidSeparator(), and ScTpFormulaOptions().
|
private |
Definition at line 73 of file tpformula.hxx.
Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().
|
private |
Definition at line 72 of file tpformula.hxx.
Referenced by FillItemSet(), ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().
|
private |
Definition at line 74 of file tpformula.hxx.
Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().
|
private |
Definition at line 79 of file tpformula.hxx.
Referenced by Reset(), and ScTpFormulaOptions().
|
private |
Definition at line 70 of file tpformula.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 77 of file tpformula.hxx.
Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().
|
private |
Definition at line 78 of file tpformula.hxx.
Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().
|
private |
Definition at line 76 of file tpformula.hxx.
Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().
|
private |
Definition at line 69 of file tpformula.hxx.
Referenced by FillItemSet(), Reset(), and ScTpFormulaOptions().
|
private |
Definition at line 82 of file tpformula.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 81 of file tpformula.hxx.
Referenced by FillItemSet(), and Reset().