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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
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
 

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 (const OUString &rSep) const
 
 DECL_LINK (ButtonHdl, weld::Button &, 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
 
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 28 of file tpformula.hxx.

Constructor & Destructor Documentation

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

Definition at line 81 of file tpformula.cxx.

Member Function Documentation

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

Definition at line 216 of file tpformula.cxx.

Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

DeactivateRC ScTpFormulaOptions::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 367 of file tpformula.cxx.

ScTpFormulaOptions::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private
ScTpFormulaOptions::DECL_LINK ( SepInsertTextHdl  ,
OUString &  ,
bool   
)
private
ScTpFormulaOptions::DECL_LINK ( ColSepInsertTextHdl  ,
OUString &  ,
bool   
)
private
ScTpFormulaOptions::DECL_LINK ( RowSepInsertTextHdl  ,
OUString &  ,
bool   
)
private
ScTpFormulaOptions::DECL_LINK ( SepModifyHdl  ,
weld::Entry ,
void   
)
private
ScTpFormulaOptions::DECL_LINK ( SepEditOnFocusHdl  ,
weld::Widget ,
void   
)
private
bool ScTpFormulaOptions::FillItemSet ( SfxItemSet rCoreSet)
overridevirtual
bool ScTpFormulaOptions::IsValidSeparator ( const OUString &  rSep) const
private

Definition at line 132 of file tpformula.cxx.

References mnDecSep.

void ScTpFormulaOptions::LaunchCustomCalcSettings ( )
private
void ScTpFormulaOptions::OnFocusSeparatorInput ( weld::Entry pEdit)
private
void ScTpFormulaOptions::Reset ( const SfxItemSet rCoreSet)
overridevirtual
void ScTpFormulaOptions::ResetSeparators ( )
private
void ScTpFormulaOptions::UpdateCustomCalcRadioButtons ( bool  bDefault)
private

Definition at line 106 of file tpformula.cxx.

References mxBtnCustomCalcCustom, mxBtnCustomCalcDefault, and mxBtnCustomCalcDetails.

Referenced by Reset().

Member Data Documentation

ScCalcConfig ScTpFormulaOptions::maCurrentConfig
private

Definition at line 60 of file tpformula.hxx.

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

ScDocOptions ScTpFormulaOptions::maCurrentDocOptions
private

Definition at line 63 of file tpformula.hxx.

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

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 57 of file tpformula.hxx.

Referenced by OnFocusSeparatorInput().

ScCalcConfig ScTpFormulaOptions::maSavedConfig
private

Definition at line 59 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

ScDocOptions ScTpFormulaOptions::maSavedDocOptions
private

Definition at line 62 of file tpformula.hxx.

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

sal_Unicode ScTpFormulaOptions::mnDecSep
private

Definition at line 65 of file tpformula.hxx.

Referenced by IsValidSeparator(), and ScTpFormulaOptions().

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

Definition at line 71 of file tpformula.hxx.

Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().

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

Definition at line 70 of file tpformula.hxx.

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

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

Definition at line 72 of file tpformula.hxx.

Referenced by ScTpFormulaOptions(), and UpdateCustomCalcRadioButtons().

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

Definition at line 77 of file tpformula.hxx.

Referenced by Reset(), and ScTpFormulaOptions().

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

Definition at line 68 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 75 of file tpformula.hxx.

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

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

Definition at line 76 of file tpformula.hxx.

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

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

Definition at line 74 of file tpformula.hxx.

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

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

Definition at line 67 of file tpformula.hxx.

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

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

Definition at line 80 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 79 of file tpformula.hxx.

Referenced by FillItemSet(), and Reset().


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