LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScTpFormulaOptions Class Reference

#include <tpformula.hxx>

Inheritance diagram for ScTpFormulaOptions:
[legend]
Collaboration diagram for ScTpFormulaOptions:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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::ComboBoxmxLbFormulaSyntax
 
std::unique_ptr< weld::CheckButtonmxCbEnglishFuncName
 
std::unique_ptr< weld::RadioButtonmxBtnCustomCalcDefault
 
std::unique_ptr< weld::RadioButtonmxBtnCustomCalcCustom
 
std::unique_ptr< weld::ButtonmxBtnCustomCalcDetails
 
std::unique_ptr< weld::EntrymxEdSepFuncArg
 
std::unique_ptr< weld::EntrymxEdSepArrayCol
 
std::unique_ptr< weld::EntrymxEdSepArrayRow
 
std::unique_ptr< weld::ButtonmxBtnSepReset
 
std::unique_ptr< weld::ComboBoxmxLbOOXMLRecalcOptions
 
std::unique_ptr< weld::ComboBoxmxLbODFRecalcOptions
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 27 of file tpformula.hxx.

Constructor & Destructor Documentation

◆ ScTpFormulaOptions()

ScTpFormulaOptions::ScTpFormulaOptions ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 
)
explicit

◆ ~ScTpFormulaOptions()

ScTpFormulaOptions::~ScTpFormulaOptions ( )
overridevirtual

Definition at line 82 of file tpformula.cxx.

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > ScTpFormulaOptions::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 
)
static

Definition at line 256 of file tpformula.cxx.

Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DeactivatePage()

DeactivateRC ScTpFormulaOptions::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 405 of file tpformula.cxx.

◆ DECL_LINK() [1/7]

ScTpFormulaOptions::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/7]

ScTpFormulaOptions::DECL_LINK ( ColSepInsertTextHdl  ,
OUString &  ,
bool   
)
private

◆ DECL_LINK() [3/7]

ScTpFormulaOptions::DECL_LINK ( RowSepInsertTextHdl  ,
OUString &  ,
bool   
)
private

◆ DECL_LINK() [4/7]

ScTpFormulaOptions::DECL_LINK ( SepEditOnFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [5/7]

ScTpFormulaOptions::DECL_LINK ( SepInsertTextHdl  ,
OUString &  ,
bool   
)
private

◆ DECL_LINK() [6/7]

ScTpFormulaOptions::DECL_LINK ( SepModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/7]

ScTpFormulaOptions::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool ScTpFormulaOptions::FillItemSet ( SfxItemSet rCoreSet)
overridevirtual

◆ IsValidSeparator()

bool ScTpFormulaOptions::IsValidSeparator ( std::u16string_view  aSep,
bool  bArray 
) const
private

Definition at line 133 of file tpformula.cxx.

References mnDecSep.

Referenced by Reset().

◆ LaunchCustomCalcSettings()

void ScTpFormulaOptions::LaunchCustomCalcSettings ( )
private

◆ OnFocusSeparatorInput()

void ScTpFormulaOptions::OnFocusSeparatorInput ( weld::Entry pEdit)
private

◆ Reset()

void ScTpFormulaOptions::Reset ( const SfxItemSet rCoreSet)
overridevirtual

◆ ResetSeparators()

void ScTpFormulaOptions::ResetSeparators ( )
private

◆ UpdateCustomCalcRadioButtons()

void ScTpFormulaOptions::UpdateCustomCalcRadioButtons ( bool  bDefault)
private

Definition at line 107 of file tpformula.cxx.

References mxBtnCustomCalcCustom, mxBtnCustomCalcDefault, and mxBtnCustomCalcDetails.

Referenced by Reset().

Member Data Documentation

◆ maCurrentConfig

ScCalcConfig ScTpFormulaOptions::maCurrentConfig
private

Definition at line 62 of file tpformula.hxx.

Referenced by FillItemSet(), LaunchCustomCalcSettings(), and Reset().

◆ maCurrentDocOptions

ScDocOptions ScTpFormulaOptions::maCurrentDocOptions
private

Definition at line 65 of file tpformula.hxx.

Referenced by FillItemSet(), LaunchCustomCalcSettings(), and Reset().

◆ maOldSepValue

OUString ScTpFormulaOptions::maOldSepValue
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().

◆ maSavedConfig

ScCalcConfig ScTpFormulaOptions::maSavedConfig
private

Definition at line 61 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

◆ maSavedDocOptions

ScDocOptions ScTpFormulaOptions::maSavedDocOptions
private

Definition at line 64 of file tpformula.hxx.

Referenced by FillItemSet(), Reset(), and ScTpFormulaOptions().

◆ mnDecSep

sal_Unicode ScTpFormulaOptions::mnDecSep
private

Definition at line 67 of file tpformula.hxx.

Referenced by IsValidSeparator(), and ScTpFormulaOptions().

◆ mxBtnCustomCalcCustom

std::unique_ptr<weld::RadioButton> ScTpFormulaOptions::mxBtnCustomCalcCustom
private

Definition at line 73 of file tpformula.hxx.

Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().

◆ mxBtnCustomCalcDefault

std::unique_ptr<weld::RadioButton> ScTpFormulaOptions::mxBtnCustomCalcDefault
private

Definition at line 72 of file tpformula.hxx.

Referenced by FillItemSet(), ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().

◆ mxBtnCustomCalcDetails

std::unique_ptr<weld::Button> ScTpFormulaOptions::mxBtnCustomCalcDetails
private

Definition at line 74 of file tpformula.hxx.

Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().

◆ mxBtnSepReset

std::unique_ptr<weld::Button> ScTpFormulaOptions::mxBtnSepReset
private

Definition at line 79 of file tpformula.hxx.

Referenced by Reset(), and ScTpFormulaOptions().

◆ mxCbEnglishFuncName

std::unique_ptr<weld::CheckButton> ScTpFormulaOptions::mxCbEnglishFuncName
private

Definition at line 70 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

◆ mxEdSepArrayCol

std::unique_ptr<weld::Entry> ScTpFormulaOptions::mxEdSepArrayCol
private

Definition at line 77 of file tpformula.hxx.

Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().

◆ mxEdSepArrayRow

std::unique_ptr<weld::Entry> ScTpFormulaOptions::mxEdSepArrayRow
private

Definition at line 78 of file tpformula.hxx.

Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().

◆ mxEdSepFuncArg

std::unique_ptr<weld::Entry> ScTpFormulaOptions::mxEdSepFuncArg
private

Definition at line 76 of file tpformula.hxx.

Referenced by FillItemSet(), Reset(), ResetSeparators(), and ScTpFormulaOptions().

◆ mxLbFormulaSyntax

std::unique_ptr<weld::ComboBox> ScTpFormulaOptions::mxLbFormulaSyntax
private

Definition at line 69 of file tpformula.hxx.

Referenced by FillItemSet(), Reset(), and ScTpFormulaOptions().

◆ mxLbODFRecalcOptions

std::unique_ptr<weld::ComboBox> ScTpFormulaOptions::mxLbODFRecalcOptions
private

Definition at line 82 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

◆ mxLbOOXMLRecalcOptions

std::unique_ptr<weld::ComboBox> ScTpFormulaOptions::mxLbOOXMLRecalcOptions
private

Definition at line 81 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().


The documentation for this class was generated from the following files: