LibreOffice Module sc (master) 1
Public Member Functions | 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 OString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &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 OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
- 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)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc)=0
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr)=0
 
virtual void RefInputDone (bool bForced=false)=0
 
virtual bool IsTableLocked () const =0
 
virtual bool IsRefInputMode () const =0
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const =0
 
virtual void AddRefEntry ()=0
 
virtual void SetActive ()=0
 
virtual void ViewShellChanged ()=0
 
virtual void ShowReference (const OUString &_sRef)=0
 
virtual void HideReference (bool bDoneRefMode=true)=0
 
virtual void ReleaseFocus (RefEdit *pEdit)=0
 
virtual void ToggleCollapsed (RefEdit *pEdit, RefButton *pButton)=0
 

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)
 
 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)
 

Private Attributes

OUString maInputError
 
OUString maConditionError
 
ScDocShellmpDocShell
 
ScDocumentmrDoc
 
const SCTAB mnCurTab
 
bool mbDlgLostFocus
 
std::vector< ScOptConditionRowmaConditions
 
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::Labelm_xFtOperator
 
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
 

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 OString &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)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Detailed Description

Definition at line 92 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 264 of file optsolver.cxx.

Member Function Documentation

◆ CallSolver()

bool ScOptSolverDlg::CallSolver ( )
private

◆ Close()

void ScOptSolverDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 428 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 797 of file optsolver.cxx.

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

Referenced by CallSolver().

◆ Init()

void ScOptSolverDlg::Init ( const ScAddress rCursorPos)
private

◆ IsRefInputMode()

bool ScOptSolverDlg::IsRefInputMode ( ) const
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 502 of file optsolver.cxx.

References mpEdActive.

◆ ParseRef()

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

◆ ReadConditions()

void ScOptSolverDlg::ReadConditions ( )
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 121 of file optsolver.hxx.

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

◆ m_xBtnClose

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

Definition at line 179 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnDel1

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

Definition at line 153 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel2

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

Definition at line 160 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel3

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

Definition at line 167 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnDel4

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

Definition at line 174 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xBtnOpt

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

Definition at line 178 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnResetAll

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

Definition at line 181 of file optsolver.hxx.

Referenced by Init().

◆ m_xBtnSolve

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

Definition at line 180 of file optsolver.hxx.

Referenced by Init().

◆ m_xContents

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

Definition at line 184 of file optsolver.hxx.

Referenced by Init().

◆ m_xEdLeft1

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

Definition at line 146 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft2

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

Definition at line 155 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft3

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

Definition at line 162 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdLeft4

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

Definition at line 169 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdObjectiveCell

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

Definition at line 132 of file optsolver.hxx.

Referenced by CallSolver(), Init(), ScOptSolverDlg(), and SetReference().

◆ m_xEdRight1

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

Definition at line 151 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight2

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

Definition at line 158 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight3

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

Definition at line 165 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdRight4

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

Definition at line 172 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xEdTargetValue

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

Definition at line 138 of file optsolver.hxx.

Referenced by CallSolver(), Init(), ScOptSolverDlg(), and SetReference().

◆ m_xEdVariableCells

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

Definition at line 142 of file optsolver.hxx.

Referenced by CallSolver(), Init(), ScOptSolverDlg(), and SetReference().

◆ m_xFtCellRef

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

Definition at line 145 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtConstraint

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

Definition at line 150 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtObjectiveCell

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

Definition at line 131 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xFtOperator

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

Definition at line 148 of file optsolver.hxx.

◆ m_xFtVariableCells

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

Definition at line 141 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp1

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

Definition at line 149 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp2

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

Definition at line 157 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp3

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

Definition at line 164 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xLbOp4

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

Definition at line 171 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xOptDlg

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

Definition at line 186 of file optsolver.hxx.

Referenced by Close().

◆ m_xRBLeft1

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

Definition at line 147 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft2

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

Definition at line 156 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft3

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

Definition at line 163 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBLeft4

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

Definition at line 170 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRbMax

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

Definition at line 135 of file optsolver.hxx.

Referenced by CallSolver(), and Init().

◆ m_xRbMin

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

Definition at line 136 of file optsolver.hxx.

Referenced by Init().

◆ m_xRBObjectiveCell

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

Definition at line 133 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xRBRight1

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

Definition at line 152 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight2

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

Definition at line 159 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight3

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

Definition at line 166 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBRight4

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

Definition at line 173 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xRBTargetValue

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

Definition at line 139 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xRbValue

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

Definition at line 137 of file optsolver.hxx.

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

◆ m_xRBVariableCells

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

Definition at line 143 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ m_xResultFT

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

Definition at line 183 of file optsolver.hxx.

Referenced by ScOptSolverDlg().

◆ m_xScrollBar

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

Definition at line 176 of file optsolver.hxx.

Referenced by Init(), and ShowConditions().

◆ maConditionError

OUString ScOptSolverDlg::maConditionError
private

Definition at line 106 of file optsolver.hxx.

Referenced by ShowError().

◆ maConditions

std::vector<ScOptConditionRow> ScOptSolverDlg::maConditions
private

Definition at line 113 of file optsolver.hxx.

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

◆ maDescriptions

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

Definition at line 117 of file optsolver.hxx.

Referenced by Init().

◆ maEngine

OUString ScOptSolverDlg::maEngine
private

Definition at line 118 of file optsolver.hxx.

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

◆ maImplNames

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

Definition at line 116 of file optsolver.hxx.

Referenced by Init().

◆ maInputError

OUString ScOptSolverDlg::maInputError
private

Definition at line 105 of file optsolver.hxx.

Referenced by ShowError().

◆ maProperties

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

Definition at line 119 of file optsolver.hxx.

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

◆ mbDlgLostFocus

bool ScOptSolverDlg::mbDlgLostFocus
private

Definition at line 111 of file optsolver.hxx.

Referenced by SetActive().

◆ mnCurTab

const SCTAB ScOptSolverDlg::mnCurTab
private

Definition at line 110 of file optsolver.hxx.

Referenced by ParseRef(), and SetReference().

◆ mpDelButton

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

Definition at line 127 of file optsolver.hxx.

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

◆ mpDocShell

ScDocShell* ScOptSolverDlg::mpDocShell
private

Definition at line 108 of file optsolver.hxx.

Referenced by CallSolver(), and Init().

◆ mpEdActive

formula::RefEdit* ScOptSolverDlg::mpEdActive
private

Definition at line 129 of file optsolver.hxx.

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

◆ mpLeftButton

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

Definition at line 123 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ mpLeftEdit

ScCursorRefEdit* ScOptSolverDlg::mpLeftEdit[EDIT_ROW_COUNT]
private

Definition at line 122 of file optsolver.hxx.

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

◆ mpOperator

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

Definition at line 126 of file optsolver.hxx.

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

◆ mpRightButton

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

Definition at line 125 of file optsolver.hxx.

Referenced by Init(), and ScOptSolverDlg().

◆ mpRightEdit

ScCursorRefEdit* ScOptSolverDlg::mpRightEdit[EDIT_ROW_COUNT]
private

Definition at line 124 of file optsolver.hxx.

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

◆ mrDoc

ScDocument& ScOptSolverDlg::mrDoc
private

Definition at line 109 of file optsolver.hxx.

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

◆ nScrollPos

tools::Long ScOptSolverDlg::nScrollPos
private

Definition at line 114 of file optsolver.hxx.

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


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