LibreOffice Module sc (master) 1
Functions
optsolver.cxx File Reference
#include <rangelst.hxx>
#include <sfx2/bindings.hxx>
#include <svl/numformat.hxx>
#include <utility>
#include <vcl/commandinfoprovider.hxx>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
#include <reffact.hxx>
#include <docsh.hxx>
#include <docfunc.hxx>
#include <rangeutl.hxx>
#include <convuno.hxx>
#include <unonames.hxx>
#include <solveroptions.hxx>
#include <solverutil.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <comphelper/sequence.hxx>
#include <optsolver.hxx>
#include <table.hxx>
#include <com/sun/star/sheet/SolverConstraint.hpp>
#include <com/sun/star/sheet/SolverConstraintOperator.hpp>
#include <com/sun/star/sheet/XSolverDescription.hpp>
#include <com/sun/star/sheet/XSolver.hpp>
Include dependency graph for optsolver.cxx:

Go to the source code of this file.

Functions

 IMPL_LINK (ScSolverSuccessDialog, ClickHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK (ScCursorRefEdit, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK (ScOptSolverDlg, BtnHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK (ScOptSolverDlg, GetEditFocusHdl, formula::RefEdit &, rCtrl, void)
 
 IMPL_LINK (ScOptSolverDlg, GetButtonFocusHdl, formula::RefButton &, rCtrl, void)
 
 IMPL_LINK (ScOptSolverDlg, GetFocusHdl, weld::Widget &, rCtrl, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, LoseEditFocusHdl, formula::RefEdit &, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, LoseButtonFocusHdl, formula::RefButton &, void)
 
 IMPL_LINK (ScOptSolverDlg, DelBtnHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, TargetModifyHdl, formula::RefEdit &, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, CondModifyHdl, formula::RefEdit &, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, SelectHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (ScOptSolverDlg, ScrollHdl, weld::ScrolledWindow &, void)
 
 IMPL_LINK (ScOptSolverDlg, CursorUpHdl, ScCursorRefEdit &, rEdit, void)
 
 IMPL_LINK (ScOptSolverDlg, CursorDownHdl, ScCursorRefEdit &, rEdit, void)
 

Function Documentation

◆ IMPL_LINK() [1/9]

IMPL_LINK ( ScCursorRefEdit  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

◆ IMPL_LINK() [2/9]

IMPL_LINK ( ScOptSolverDlg  ,
BtnHdl  ,
weld::Button ,
rBtn  ,
void   
)

move options dialog to UI lib?

Definition at line 548 of file optsolver.cxx.

References ScSolverUtil::GetDefaults(), m_xDialog, maProperties, RET_CLOSE, RET_OK, weld::DialogController::runAsync(), and sEmpty.

◆ IMPL_LINK() [3/9]

IMPL_LINK ( ScOptSolverDlg  ,
CursorDownHdl  ,
ScCursorRefEdit ,
rEdit  ,
void   
)

limit scroll position?

Definition at line 768 of file optsolver.cxx.

References formula::RefEdit::GrabFocus().

◆ IMPL_LINK() [4/9]

IMPL_LINK ( ScOptSolverDlg  ,
CursorUpHdl  ,
ScCursorRefEdit ,
rEdit  ,
void   
)

Definition at line 737 of file optsolver.cxx.

References formula::RefEdit::GrabFocus().

◆ IMPL_LINK() [5/9]

IMPL_LINK ( ScOptSolverDlg  ,
DelBtnHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 680 of file optsolver.cxx.

◆ IMPL_LINK() [6/9]

IMPL_LINK ( ScOptSolverDlg  ,
GetButtonFocusHdl  ,
formula::RefButton ,
rCtrl  ,
void   
)

Definition at line 632 of file optsolver.cxx.

References formula::RefEdit::SelectAll().

◆ IMPL_LINK() [7/9]

IMPL_LINK ( ScOptSolverDlg  ,
GetEditFocusHdl  ,
formula::RefEdit ,
rCtrl  ,
void   
)

Definition at line 609 of file optsolver.cxx.

References formula::RefEdit::SelectAll().

◆ IMPL_LINK() [8/9]

IMPL_LINK ( ScOptSolverDlg  ,
GetFocusHdl  ,
weld::Widget ,
rCtrl  ,
void   
)

Definition at line 656 of file optsolver.cxx.

◆ IMPL_LINK() [9/9]

IMPL_LINK ( ScSolverSuccessDialog  ,
ClickHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 99 of file optsolver.cxx.

References m_xDialog, RET_CANCEL, and RET_OK.

◆ IMPL_LINK_NOARG() [1/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
CondModifyHdl  ,
formula::RefEdit ,
void   
)

Definition at line 714 of file optsolver.cxx.

◆ IMPL_LINK_NOARG() [2/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
LoseButtonFocusHdl  ,
formula::RefButton ,
void   
)

Definition at line 675 of file optsolver.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [3/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
LoseEditFocusHdl  ,
formula::RefEdit ,
void   
)

Definition at line 670 of file optsolver.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [4/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
ScrollHdl  ,
weld::ScrolledWindow ,
void   
)

Definition at line 728 of file optsolver.cxx.

◆ IMPL_LINK_NOARG() [5/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
SelectHdl  ,
weld::ComboBox ,
void   
)

Definition at line 721 of file optsolver.cxx.

◆ IMPL_LINK_NOARG() [6/6]

IMPL_LINK_NOARG ( ScOptSolverDlg  ,
TargetModifyHdl  ,
formula::RefEdit ,
void   
)

Definition at line 706 of file optsolver.cxx.