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

#include <calcoptionsdlg.hxx>

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

Public Member Functions

 ScCalcOptionsDialog (weld::Window *pParent, const ScCalcConfig &rConfig, bool bWriteConfig)
 
virtual ~ScCalcOptionsDialog () override
 
 DECL_LINK (AsZeroModifiedHdl, weld::Toggleable &, void)
 
 DECL_LINK (ConversionModifiedHdl, weld::ComboBox &, void)
 
 DECL_LINK (SyntaxModifiedHdl, weld::ComboBox &, void)
 
 DECL_LINK (CurrentDocOnlyHdl, weld::Toggleable &, void)
 
const ScCalcConfigGetConfig () const
 
bool GetWriteCalcConfig () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void CoupleEmptyAsZeroToStringConversion ()
 

Private Attributes

ScCalcConfig maConfig
 
bool mbSelectedEmptyStringAsZero
 
bool mbWriteConfig
 
std::unique_ptr< weld::CheckButtonmxEmptyAsZero
 
std::unique_ptr< weld::ComboBoxmxConversion
 
std::unique_ptr< weld::CheckButtonmxCurrentDocOnly
 
std::unique_ptr< weld::ComboBoxmxSyntax
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 15 of file calcoptionsdlg.hxx.

Constructor & Destructor Documentation

◆ ScCalcOptionsDialog()

ScCalcOptionsDialog::ScCalcOptionsDialog ( weld::Window pParent,
const ScCalcConfig rConfig,
bool  bWriteConfig 
)

◆ ~ScCalcOptionsDialog()

ScCalcOptionsDialog::~ScCalcOptionsDialog ( )
overridevirtual

Definition at line 86 of file calcoptionsdlg.cxx.

Member Function Documentation

◆ CoupleEmptyAsZeroToStringConversion()

void ScCalcOptionsDialog::CoupleEmptyAsZeroToStringConversion ( )
private

◆ DECL_LINK() [1/4]

ScCalcOptionsDialog::DECL_LINK ( AsZeroModifiedHdl  ,
weld::Toggleable ,
void   
)

◆ DECL_LINK() [2/4]

ScCalcOptionsDialog::DECL_LINK ( ConversionModifiedHdl  ,
weld::ComboBox ,
void   
)

◆ DECL_LINK() [3/4]

ScCalcOptionsDialog::DECL_LINK ( CurrentDocOnlyHdl  ,
weld::Toggleable ,
void   
)

◆ DECL_LINK() [4/4]

ScCalcOptionsDialog::DECL_LINK ( SyntaxModifiedHdl  ,
weld::ComboBox ,
void   
)

◆ GetConfig()

const ScCalcConfig & ScCalcOptionsDialog::GetConfig ( ) const
inline

Definition at line 26 of file calcoptionsdlg.hxx.

References maConfig.

Referenced by ScTpFormulaOptions::LaunchCustomCalcSettings().

◆ GetWriteCalcConfig()

bool ScCalcOptionsDialog::GetWriteCalcConfig ( ) const
inline

Definition at line 27 of file calcoptionsdlg.hxx.

References mbWriteConfig.

Referenced by ScTpFormulaOptions::LaunchCustomCalcSettings().

Member Data Documentation

◆ maConfig

ScCalcConfig ScCalcOptionsDialog::maConfig
private

Definition at line 33 of file calcoptionsdlg.hxx.

Referenced by CoupleEmptyAsZeroToStringConversion(), and GetConfig().

◆ mbSelectedEmptyStringAsZero

bool ScCalcOptionsDialog::mbSelectedEmptyStringAsZero
private

Definition at line 34 of file calcoptionsdlg.hxx.

Referenced by CoupleEmptyAsZeroToStringConversion().

◆ mbWriteConfig

bool ScCalcOptionsDialog::mbWriteConfig
private

Definition at line 35 of file calcoptionsdlg.hxx.

Referenced by GetWriteCalcConfig(), and ScCalcOptionsDialog().

◆ mxConversion

std::unique_ptr<weld::ComboBox> ScCalcOptionsDialog::mxConversion
private

Definition at line 38 of file calcoptionsdlg.hxx.

Referenced by ScCalcOptionsDialog().

◆ mxCurrentDocOnly

std::unique_ptr<weld::CheckButton> ScCalcOptionsDialog::mxCurrentDocOnly
private

Definition at line 39 of file calcoptionsdlg.hxx.

Referenced by ScCalcOptionsDialog().

◆ mxEmptyAsZero

std::unique_ptr<weld::CheckButton> ScCalcOptionsDialog::mxEmptyAsZero
private

Definition at line 37 of file calcoptionsdlg.hxx.

Referenced by CoupleEmptyAsZeroToStringConversion(), and ScCalcOptionsDialog().

◆ mxSyntax

std::unique_ptr<weld::ComboBox> ScCalcOptionsDialog::mxSyntax
private

Definition at line 40 of file calcoptionsdlg.hxx.

Referenced by ScCalcOptionsDialog().


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