26#include <com/sun/star/uno/Sequence.hxx>
32 namespace beans {
struct PropertyValue; }
60 virtual void Close()
override;
151 bool ParseRef(
ScRange& rRange,
const OUString& rInput,
bool bAllowRange );
void SetCursorLinks(const Link< ScCursorRefEdit &, void > &rUp, const Link< ScCursorRefEdit &, void > &rDown)
Link< ScCursorRefEdit &, void > maCursorDownLink
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
ScCursorRefEdit(std::unique_ptr< weld::Entry > xEntry)
Link< ScCursorRefEdit &, void > maCursorUpLink
std::shared_ptr< sc::SolverSettings > m_pSolverSettings
std::unique_ptr< weld::Widget > m_xContents
std::unique_ptr< formula::RefButton > m_xRBRight3
std::unique_ptr< formula::RefButton > m_xRBRight1
void Init(const ScAddress &rCursorPos)
std::unique_ptr< ScCursorRefEdit > m_xEdLeft4
virtual ~ScOptSolverDlg() override
css::uno::Sequence< OUString > maDescriptions
std::unique_ptr< ScCursorRefEdit > m_xEdLeft2
DECL_LINK(SelectHdl, weld::ComboBox &, void)
void ShowError(bool bCondition, formula::RefEdit *pFocus)
void LoadSolverSettings()
std::unique_ptr< weld::RadioButton > m_xRbValue
std::unique_ptr< weld::RadioButton > m_xRbMin
DECL_LINK(LoseButtonFocusHdl, formula::RefButton &, void)
std::unique_ptr< formula::RefButton > m_xRBTargetValue
weld::ComboBox * mpOperator[EDIT_ROW_COUNT]
std::unique_ptr< weld::Button > m_xBtnResetAll
std::unique_ptr< ScCursorRefEdit > m_xEdLeft3
std::unique_ptr< formula::RefButton > m_xRBRight2
std::unique_ptr< weld::Button > m_xBtnClose
bool ParseRef(ScRange &rRange, const OUString &rInput, bool bAllowRange)
formula::RefEdit * mpEdActive
std::unique_ptr< weld::ComboBox > m_xLbOp2
std::unique_ptr< weld::RadioButton > m_xRbMax
static const sal_uInt16 EDIT_ROW_COUNT
std::unique_ptr< weld::Button > m_xBtnDel2
std::unique_ptr< formula::RefEdit > m_xEdVariableCells
std::unique_ptr< formula::RefEdit > m_xEdObjectiveCell
bool FindTimeout(sal_Int32 &rTimeout)
std::unique_ptr< formula::RefButton > m_xRBLeft1
std::unique_ptr< weld::Button > m_xBtnDel3
virtual void SetActive() override
std::unique_ptr< weld::ComboBox > m_xLbOp1
ScCursorRefEdit * mpRightEdit[EDIT_ROW_COUNT]
std::unique_ptr< weld::Button > m_xBtnDel4
std::shared_ptr< ScSolverOptionsDialog > m_xOptDlg
ScOptSolverDlg(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScDocShell *pDocSh, const ScAddress &aCursorPos)
virtual bool IsRefInputMode() const override
OUString maConditionError
DECL_LINK(GetFocusHdl, weld::Widget &, void)
DECL_LINK(LoseEditFocusHdl, formula::RefEdit &, void)
std::unique_ptr< formula::RefEdit > m_xEdTargetValue
css::uno::Sequence< OUString > maImplNames
DECL_LINK(GetEditFocusHdl, formula::RefEdit &, void)
virtual void Close() override
std::unique_ptr< weld::Label > m_xFtVariableCells
std::unique_ptr< weld::ComboBox > m_xLbOp4
std::unique_ptr< weld::ScrolledWindow > m_xScrollBar
std::unique_ptr< weld::ComboBox > m_xLbOp3
formula::RefButton * mpLeftButton[EDIT_ROW_COUNT]
void SaveSolverSettings()
DECL_LINK(DelBtnHdl, weld::Button &, void)
static sc::ConstraintOperator OperatorIndexToConstraintOperator(sal_Int32 nIndex)
std::unique_ptr< formula::RefButton > m_xRBLeft4
std::unique_ptr< formula::RefButton > m_xRBLeft2
ScCursorRefEdit * mpLeftEdit[EDIT_ROW_COUNT]
std::unique_ptr< formula::RefButton > m_xRBRight4
std::unique_ptr< weld::Label > m_xResultFT
bool IsEngineAvailable(std::u16string_view sEngineName)
std::unique_ptr< ScCursorRefEdit > m_xEdRight3
weld::Button * mpDelButton[EDIT_ROW_COUNT]
virtual void SetReference(const ScRange &rRef, ScDocument &rDoc) override
std::unique_ptr< weld::Button > m_xBtnOpt
DECL_LINK(BtnHdl, weld::Button &, void)
DECL_LINK(GetButtonFocusHdl, formula::RefButton &, void)
std::unique_ptr< ScCursorRefEdit > m_xEdRight4
std::unique_ptr< weld::Label > m_xFtObjectiveCell
DECL_LINK(TargetModifyHdl, formula::RefEdit &, void)
std::unique_ptr< formula::RefButton > m_xRBObjectiveCell
std::unique_ptr< ScCursorRefEdit > m_xEdRight2
std::unique_ptr< formula::RefButton > m_xRBVariableCells
std::unique_ptr< weld::Button > m_xBtnSolve
std::unique_ptr< formula::RefButton > m_xRBLeft3
std::vector< sc::ModelConstraint > m_aConditions
std::unique_ptr< weld::Label > m_xFtConstraint
std::unique_ptr< weld::Button > m_xBtnDel1
std::unique_ptr< ScCursorRefEdit > m_xEdRight1
DECL_LINK(CursorUpHdl, ScCursorRefEdit &, void)
DECL_LINK(CondModifyHdl, formula::RefEdit &, void)
DECL_LINK(CursorDownHdl, ScCursorRefEdit &, void)
formula::RefButton * mpRightButton[EDIT_ROW_COUNT]
css::uno::Sequence< css::beans::PropertyValue > maProperties
DECL_LINK(ScrollHdl, weld::ScrolledWindow &, void)
std::unique_ptr< weld::Label > m_xFtCellRef
std::unique_ptr< ScCursorRefEdit > m_xEdLeft1
std::unique_ptr< weld::Label > m_xFtErrorText
ScSolverNoSolutionDialog(weld::Window *pParent, const OUString &rErrorText)
virtual ~ScSolverNoSolutionDialog() override
virtual ~ScSolverProgressDialog() override
std::unique_ptr< weld::Label > m_xFtTime
ScSolverProgressDialog(weld::Window *pParent)
void SetTimeLimit(sal_Int32 nSeconds)
virtual ~ScSolverSuccessDialog() override
ScSolverSuccessDialog(weld::Window *pParent, std::u16string_view rSolution)
std::unique_ptr< weld::Label > m_xFtResult
std::unique_ptr< weld::Button > m_xBtnCancel
DECL_LINK(ClickHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnOk