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

#include <optsolver.hxx>

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

Public Member Functions

 ScOptSolverDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScDocShell *pDocSh, const ScAddress &aCursorPos)
 
virtual ~ScOptSolverDlg () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual bool IsRefInputMode () const override
 
virtual void SetActive () override
 
virtual void Close () override
 
- Public Member Functions inherited from ScAnyRefDlgController
 ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OUString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override=0
 
virtual void AddRefEntry () override
 
virtual bool IsRefInputMode () const override
 
virtual bool IsTableLocked () const override
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const override
 
virtual void ShowReference (const OUString &rStr) override
 
virtual void HideReference (bool bDoneRefMode=true) override
 
virtual void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override
 
virtual void ReleaseFocus (formula::RefEdit *pEdit) override
 
virtual void ViewShellChanged () override
 
void SwitchToDocument ()
 
virtual void SetActive () override=0
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 

Private Member Functions

void Init (const ScAddress &rCursorPos)
 
bool CallSolver ()
 
void ReadConditions ()
 
void ShowConditions ()
 
void EnableButtons ()
 
bool ParseRef (ScRange &rRange, const OUString &rInput, bool bAllowRange)
 
bool FindTimeout (sal_Int32 &rTimeout)
 
void ShowError (bool bCondition, formula::RefEdit *pFocus)
 
void LoadSolverSettings ()
 
void SaveSolverSettings ()
 
bool IsEngineAvailable (std::u16string_view sEngineName)
 
 DECL_LINK (BtnHdl, weld::Button &, void)
 
 DECL_LINK (DelBtnHdl, weld::Button &, void)
 
 DECL_LINK (GetEditFocusHdl, formula::RefEdit &, void)
 
 DECL_LINK (GetButtonFocusHdl, formula::RefButton &, void)
 
 DECL_LINK (GetFocusHdl, weld::Widget &, void)
 
 DECL_LINK (LoseEditFocusHdl, formula::RefEdit &, void)
 
 DECL_LINK (LoseButtonFocusHdl, formula::RefButton &, void)
 
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 
 DECL_LINK (CursorUpHdl, ScCursorRefEdit &, void)
 
 DECL_LINK (CursorDownHdl, ScCursorRefEdit &, void)
 
 DECL_LINK (CondModifyHdl, formula::RefEdit &, void)
 
 DECL_LINK (TargetModifyHdl, formula::RefEdit &, void)
 
 DECL_LINK (SelectHdl, weld::ComboBox &, void)
 

Static Private Member Functions

static sc::ConstraintOperator OperatorIndexToConstraintOperator (sal_Int32 nIndex)
 

Private Attributes

OUString maInputError
 
OUString maConditionError
 
ScDocShellmpDocShell
 
ScDocumentmrDoc
 
const SCTAB mnCurTab
 
bool mbDlgLostFocus
 
std::vector< sc::ModelConstraintm_aConditions
 
tools::Long nScrollPos
 
css::uno::Sequence< OUString > maImplNames
 
css::uno::Sequence< OUString > maDescriptions
 
OUString maEngine
 
css::uno::Sequence< css::beans::PropertyValue > maProperties
 
ScCursorRefEditmpLeftEdit [EDIT_ROW_COUNT]
 
formula::RefButtonmpLeftButton [EDIT_ROW_COUNT]
 
ScCursorRefEditmpRightEdit [EDIT_ROW_COUNT]
 
formula::RefButtonmpRightButton [EDIT_ROW_COUNT]
 
weld::ComboBoxmpOperator [EDIT_ROW_COUNT]
 
weld::ButtonmpDelButton [EDIT_ROW_COUNT]
 
formula::RefEditmpEdActive
 
std::unique_ptr< weld::Labelm_xFtObjectiveCell
 
std::unique_ptr< formula::RefEditm_xEdObjectiveCell
 
std::unique_ptr< formula::RefButtonm_xRBObjectiveCell
 
std::unique_ptr< weld::RadioButtonm_xRbMax
 
std::unique_ptr< weld::RadioButtonm_xRbMin
 
std::unique_ptr< weld::RadioButtonm_xRbValue
 
std::unique_ptr< formula::RefEditm_xEdTargetValue
 
std::unique_ptr< formula::RefButtonm_xRBTargetValue
 
std::unique_ptr< weld::Labelm_xFtVariableCells
 
std::unique_ptr< formula::RefEditm_xEdVariableCells
 
std::unique_ptr< formula::RefButtonm_xRBVariableCells
 
std::unique_ptr< weld::Labelm_xFtCellRef
 
std::unique_ptr< ScCursorRefEditm_xEdLeft1
 
std::unique_ptr< formula::RefButtonm_xRBLeft1
 
std::unique_ptr< weld::ComboBoxm_xLbOp1
 
std::unique_ptr< weld::Labelm_xFtConstraint
 
std::unique_ptr< ScCursorRefEditm_xEdRight1
 
std::unique_ptr< formula::RefButtonm_xRBRight1
 
std::unique_ptr< weld::Buttonm_xBtnDel1
 
std::unique_ptr< ScCursorRefEditm_xEdLeft2
 
std::unique_ptr< formula::RefButtonm_xRBLeft2
 
std::unique_ptr< weld::ComboBoxm_xLbOp2
 
std::unique_ptr< ScCursorRefEditm_xEdRight2
 
std::unique_ptr< formula::RefButtonm_xRBRight2
 
std::unique_ptr< weld::Buttonm_xBtnDel2
 
std::unique_ptr< ScCursorRefEditm_xEdLeft3
 
std::unique_ptr< formula::RefButtonm_xRBLeft3
 
std::unique_ptr< weld::ComboBoxm_xLbOp3
 
std::unique_ptr< ScCursorRefEditm_xEdRight3
 
std::unique_ptr< formula::RefButtonm_xRBRight3
 
std::unique_ptr< weld::Buttonm_xBtnDel3
 
std::unique_ptr< ScCursorRefEditm_xEdLeft4
 
std::unique_ptr< formula::RefButtonm_xRBLeft4
 
std::unique_ptr< weld::ComboBoxm_xLbOp4
 
std::unique_ptr< ScCursorRefEditm_xEdRight4
 
std::unique_ptr< formula::RefButtonm_xRBRight4
 
std::unique_ptr< weld::Buttonm_xBtnDel4
 
std::unique_ptr< weld::ScrolledWindowm_xScrollBar
 
std::unique_ptr< weld::Buttonm_xBtnOpt
 
std::unique_ptr< weld::Buttonm_xBtnClose
 
std::unique_ptr< weld::Buttonm_xBtnSolve
 
std::unique_ptr< weld::Buttonm_xBtnResetAll
 
std::unique_ptr< weld::Labelm_xResultFT
 
std::unique_ptr< weld::Widgetm_xContents
 
std::shared_ptr< ScSolverOptionsDialogm_xOptDlg
 
std::shared_ptr< sc::SolverSettingsm_pSolverSettings
 

Static Private Attributes

static const sal_uInt16 EDIT_ROW_COUNT = 4
 

Additional Inherited Members

- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 
- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Protected Member Functions inherited from ScRefHandler
void disposeRefHandler ()
 
bool DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
 
virtual void RefInputDone (bool bForced=false) override
 
bool ParseWithNames (ScRangeList &rRanges, std::u16string_view rStr, const ScDocument &pDoc)
 

Detailed Description

Definition at line 50 of file optsolver.hxx.

Constructor & Destructor Documentation

◆ ScOptSolverDlg()

ScOptSolverDlg::ScOptSolverDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScDocShell pDocSh,
const ScAddress aCursorPos 
)

◆ ~ScOptSolverDlg()

ScOptSolverDlg::~ScOptSolverDlg ( )
overridevirtual

Definition at line 248 of file optsolver.cxx.

Member Function Documentation

◆ CallSolver()

bool ScOptSolverDlg::CallSolver ( )
private

◆ Close()

void ScOptSolverDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 399 of file optsolver.cxx.

References ScRefHandler::DoClose(), m_xOptDlg, and RET_CANCEL.

◆ DECL_LINK() [1/13]

ScOptSolverDlg::DECL_LINK ( BtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/13]

ScOptSolverDlg::DECL_LINK ( CondModifyHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [3/13]

ScOptSolverDlg::DECL_LINK ( CursorDownHdl  ,
ScCursorRefEdit ,
void   
)
private

◆ DECL_LINK() [4/13]

ScOptSolverDlg::DECL_LINK ( CursorUpHdl  ,
ScCursorRefEdit ,
void   
)
private

◆ DECL_LINK() [5/13]

ScOptSolverDlg::DECL_LINK ( DelBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/13]

ScOptSolverDlg::DECL_LINK ( GetButtonFocusHdl  ,
formula::RefButton ,
void   
)
private

◆ DECL_LINK() [7/13]

ScOptSolverDlg::DECL_LINK ( GetEditFocusHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [8/13]

ScOptSolverDlg::DECL_LINK ( GetFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [9/13]

ScOptSolverDlg::DECL_LINK ( LoseButtonFocusHdl  ,
formula::RefButton ,
void   
)
private

◆ DECL_LINK() [10/13]

ScOptSolverDlg::DECL_LINK ( LoseEditFocusHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [11/13]

ScOptSolverDlg::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ DECL_LINK() [12/13]

ScOptSolverDlg::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [13/13]

ScOptSolverDlg::DECL_LINK ( TargetModifyHdl  ,
formula::RefEdit ,
void   
)
private

◆ EnableButtons()

void ScOptSolverDlg::EnableButtons ( )
private

◆ FindTimeout()

bool ScOptSolverDlg::FindTimeout ( sal_Int32 &  rTimeout)
private

Definition at line 843 of file optsolver.cxx.

References ScSolverUtil::GetDefaults(), maEngine, maProperties, and SC_UNONAME_TIMEOUT.

Referenced by CallSolver().

◆ Init()

void ScOptSolverDlg::Init ( const ScAddress rCursorPos)
private

◆ IsEngineAvailable()

bool ScOptSolverDlg::IsEngineAvailable ( std::u16string_view  sEngineName)
private

Definition at line 540 of file optsolver.cxx.

References comphelper::findValue(), maImplNames, and nIndex.

Referenced by LoadSolverSettings().

◆ IsRefInputMode()

bool ScOptSolverDlg::IsRefInputMode ( ) const
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 473 of file optsolver.cxx.

References mpEdActive.

◆ LoadSolverSettings()

void ScOptSolverDlg::LoadSolverSettings ( )
private

◆ OperatorIndexToConstraintOperator()

sc::ConstraintOperator ScOptSolverDlg::OperatorIndexToConstraintOperator ( sal_Int32  nIndex)
staticprivate

◆ ParseRef()

bool ScOptSolverDlg::ParseRef ( ScRange rRange,
const OUString &  rInput,
bool  bAllowRange 
)
private

◆ ReadConditions()

void ScOptSolverDlg::ReadConditions ( )
private

◆ SaveSolverSettings()

void ScOptSolverDlg::SaveSolverSettings ( )
private

◆ SetActive()

void ScOptSolverDlg::SetActive ( )
overridevirtual

◆ SetReference()

void ScOptSolverDlg::SetReference ( const ScRange rRef,
ScDocument rDoc 
)
overridevirtual

◆ ShowConditions()

void ScOptSolverDlg::ShowConditions ( )
private

◆ ShowError()

void ScOptSolverDlg::ShowError ( bool  bCondition,
formula::RefEdit pFocus 
)
private

Member Data Documentation

◆ EDIT_ROW_COUNT

const sal_uInt16 ScOptSolverDlg::EDIT_ROW_COUNT = 4
staticprivate

Definition at line 79 of file optsolver.hxx.

Referenced by EnableButtons(), Init(), ReadConditions(), and ShowConditions().

◆ m_aConditions

std::vector<sc::ModelConstraint> ScOptSolverDlg::m_aConditions
private

◆ m_pSolverSettings

std::shared_ptr<sc::SolverSettings> ScOptSolverDlg::m_pSolverSettings
private

Definition at line 144 of file optsolver.hxx.

Referenced by LoadSolverSettings(), and SaveSolverSettings().

◆ m_xBtnClose

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnClose
private

Definition at line 136 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnDel1

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnDel1
private

Definition at line 110 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel2

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnDel2
private

Definition at line 117 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel3

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnDel3
private

Definition at line 124 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel4

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnDel4
private

Definition at line 131 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnOpt

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnOpt
private

Definition at line 135 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnResetAll

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnResetAll
private

Definition at line 138 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnSolve

std::unique_ptr<weld::Button> ScOptSolverDlg::m_xBtnSolve
private

Definition at line 137 of file optsolver.hxx.

Referenced by Init().

◆ m_xContents

std::unique_ptr<weld::Widget> ScOptSolverDlg::m_xContents
private

Definition at line 141 of file optsolver.hxx.

Referenced by Init().

◆ m_xEdLeft1

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdLeft1
private

Definition at line 104 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft2

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdLeft2
private

Definition at line 112 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft3

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdLeft3
private

Definition at line 119 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft4

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdLeft4
private

Definition at line 126 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdObjectiveCell

std::unique_ptr<formula::RefEdit> ScOptSolverDlg::m_xEdObjectiveCell
private

◆ m_xEdRight1

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdRight1
private

Definition at line 108 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight2

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdRight2
private

Definition at line 115 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight3

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdRight3
private

Definition at line 122 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight4

std::unique_ptr<ScCursorRefEdit> ScOptSolverDlg::m_xEdRight4
private

Definition at line 129 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdTargetValue

std::unique_ptr<formula::RefEdit> ScOptSolverDlg::m_xEdTargetValue
private

◆ m_xEdVariableCells

std::unique_ptr<formula::RefEdit> ScOptSolverDlg::m_xEdVariableCells
private

◆ m_xFtCellRef

std::unique_ptr<weld::Label> ScOptSolverDlg::m_xFtCellRef
private

Definition at line 103 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtConstraint

std::unique_ptr<weld::Label> ScOptSolverDlg::m_xFtConstraint
private

Definition at line 107 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtObjectiveCell

std::unique_ptr<weld::Label> ScOptSolverDlg::m_xFtObjectiveCell
private

Definition at line 89 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtVariableCells

std::unique_ptr<weld::Label> ScOptSolverDlg::m_xFtVariableCells
private

Definition at line 99 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp1

std::unique_ptr<weld::ComboBox> ScOptSolverDlg::m_xLbOp1
private

Definition at line 106 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp2

std::unique_ptr<weld::ComboBox> ScOptSolverDlg::m_xLbOp2
private

Definition at line 114 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp3

std::unique_ptr<weld::ComboBox> ScOptSolverDlg::m_xLbOp3
private

Definition at line 121 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp4

std::unique_ptr<weld::ComboBox> ScOptSolverDlg::m_xLbOp4
private

Definition at line 128 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xOptDlg

std::shared_ptr<ScSolverOptionsDialog> ScOptSolverDlg::m_xOptDlg
private

Definition at line 143 of file optsolver.hxx.

Referenced by Close().

◆ m_xRBLeft1

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBLeft1
private

Definition at line 105 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft2

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBLeft2
private

Definition at line 113 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft3

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBLeft3
private

Definition at line 120 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft4

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBLeft4
private

Definition at line 127 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRbMax

std::unique_ptr<weld::RadioButton> ScOptSolverDlg::m_xRbMax
private

Definition at line 93 of file optsolver.hxx.

Referenced by CallSolver(), LoadSolverSettings(), and SaveSolverSettings().

◆ m_xRbMin

std::unique_ptr<weld::RadioButton> ScOptSolverDlg::m_xRbMin
private

Definition at line 94 of file optsolver.hxx.

Referenced by LoadSolverSettings(), and SaveSolverSettings().

◆ m_xRBObjectiveCell

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBObjectiveCell
private

Definition at line 91 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xRBRight1

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBRight1
private

Definition at line 109 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight2

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBRight2
private

Definition at line 116 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight3

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBRight3
private

Definition at line 123 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight4

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBRight4
private

Definition at line 130 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBTargetValue

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBTargetValue
private

Definition at line 97 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xRbValue

std::unique_ptr<weld::RadioButton> ScOptSolverDlg::m_xRbValue
private

Definition at line 95 of file optsolver.hxx.

Referenced by CallSolver(), Init(), LoadSolverSettings(), SaveSolverSettings(), and SetReference().

◆ m_xRBVariableCells

std::unique_ptr<formula::RefButton> ScOptSolverDlg::m_xRBVariableCells
private

Definition at line 101 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xResultFT

std::unique_ptr<weld::Label> ScOptSolverDlg::m_xResultFT
private

Definition at line 140 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xScrollBar

std::unique_ptr<weld::ScrolledWindow> ScOptSolverDlg::m_xScrollBar
private

Definition at line 133 of file optsolver.hxx.

Referenced by Init(), and ShowConditions().

◆ maConditionError

OUString ScOptSolverDlg::maConditionError
private

Definition at line 64 of file optsolver.hxx.

Referenced by ShowError().

◆ maDescriptions

css::uno::Sequence<OUString> ScOptSolverDlg::maDescriptions
private

Definition at line 75 of file optsolver.hxx.

Referenced by Init().

◆ maEngine

OUString ScOptSolverDlg::maEngine
private

Definition at line 76 of file optsolver.hxx.

Referenced by CallSolver(), FindTimeout(), LoadSolverSettings(), and SaveSolverSettings().

◆ maImplNames

css::uno::Sequence<OUString> ScOptSolverDlg::maImplNames
private

Definition at line 74 of file optsolver.hxx.

Referenced by Init(), IsEngineAvailable(), and LoadSolverSettings().

◆ maInputError

OUString ScOptSolverDlg::maInputError
private

Definition at line 63 of file optsolver.hxx.

Referenced by ShowError().

◆ maProperties

css::uno::Sequence<css::beans::PropertyValue> ScOptSolverDlg::maProperties
private

Definition at line 77 of file optsolver.hxx.

Referenced by CallSolver(), FindTimeout(), LoadSolverSettings(), and SaveSolverSettings().

◆ mbDlgLostFocus

bool ScOptSolverDlg::mbDlgLostFocus
private

Definition at line 69 of file optsolver.hxx.

Referenced by SetActive().

◆ mnCurTab

const SCTAB ScOptSolverDlg::mnCurTab
private

Definition at line 68 of file optsolver.hxx.

Referenced by ParseRef(), and SetReference().

◆ mpDelButton

weld::Button* ScOptSolverDlg::mpDelButton[EDIT_ROW_COUNT]
private

Definition at line 85 of file optsolver.hxx.

Referenced by EnableButtons(), Init(), and ScOptSolverDlg().

◆ mpDocShell

ScDocShell* ScOptSolverDlg::mpDocShell
private

Definition at line 66 of file optsolver.hxx.

Referenced by CallSolver().

◆ mpEdActive

formula::RefEdit* ScOptSolverDlg::mpEdActive
private

Definition at line 87 of file optsolver.hxx.

Referenced by Init(), IsRefInputMode(), SetActive(), SetReference(), and ShowError().

◆ mpLeftButton

formula::RefButton* ScOptSolverDlg::mpLeftButton[EDIT_ROW_COUNT]
private

Definition at line 81 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ mpLeftEdit

ScCursorRefEdit* ScOptSolverDlg::mpLeftEdit[EDIT_ROW_COUNT]
private

Definition at line 80 of file optsolver.hxx.

Referenced by Init(), ReadConditions(), ScOptSolverDlg(), and ShowConditions().

◆ mpOperator

weld::ComboBox* ScOptSolverDlg::mpOperator[EDIT_ROW_COUNT]
private

Definition at line 84 of file optsolver.hxx.

Referenced by Init(), ReadConditions(), ScOptSolverDlg(), and ShowConditions().

◆ mpRightButton

formula::RefButton* ScOptSolverDlg::mpRightButton[EDIT_ROW_COUNT]
private

Definition at line 83 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ mpRightEdit

ScCursorRefEdit* ScOptSolverDlg::mpRightEdit[EDIT_ROW_COUNT]
private

Definition at line 82 of file optsolver.hxx.

Referenced by Init(), ReadConditions(), ScOptSolverDlg(), and ShowConditions().

◆ mrDoc

ScDocument& ScOptSolverDlg::mrDoc
private

Definition at line 67 of file optsolver.hxx.

Referenced by CallSolver(), Init(), and ParseRef().

◆ nScrollPos

tools::Long ScOptSolverDlg::nScrollPos
private

Definition at line 72 of file optsolver.hxx.

Referenced by EnableButtons(), ReadConditions(), and ShowConditions().


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