20 #ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX
24 #include <com/sun/star/uno/Sequence.hxx>
27 namespace beans {
struct PropertyValue; }
51 void SetDoubleValue(
double fNew ) { mbIsDouble =
true; mfDoubleValue = fNew; }
52 void SetIntValue( sal_Int32 nNew ) { mbIsDouble =
false; mnIntValue = nNew; }
64 std::vector<std::unique_ptr<ScSolverOptionsString>>
m_aOptions;
84 const css::uno::Sequence<OUString>& rImplNames,
85 const css::uno::Sequence<OUString>& rDescriptions,
86 const OUString& rEngine,
87 const css::uno::Sequence<css::beans::PropertyValue>& rProperties );
92 const css::uno::Sequence<css::beans::PropertyValue>&
GetProperties();
106 void SetMax( sal_Int32 nValue );
122 void SetMax(
double fValue );
virtual ~ScSolverValueDialog() override
ScSolverOptionsDialog(weld::Window *pParent, const css::uno::Sequence< OUString > &rImplNames, const css::uno::Sequence< OUString > &rDescriptions, const OUString &rEngine, const css::uno::Sequence< css::beans::PropertyValue > &rProperties)
void SetDoubleValue(double fNew)
void SetMax(sal_Int32 nValue)
const css::uno::Sequence< css::beans::PropertyValue > & GetProperties()
sal_Int32 GetIntValue() const
ScSolverIntegerDialog(weld::Window *pParent)
void SetIntValue(sal_Int32 nNew)
std::unique_ptr< weld::Entry > m_xEdValue
std::unique_ptr< weld::SpinButton > m_xNfValue
const OUString & GetEngine() const
void SetValue(double fValue)
virtual ~ScSolverIntegerDialog() override
css::uno::Sequence< OUString > maImplNames
ScSolverValueDialog(weld::Window *pParent)
void SetOptionName(const OUString &rName)
DECL_LINK(EngineSelectHdl, weld::ComboBox &, void)
std::shared_ptr< ScSolverValueDialog > m_xValDialog
exports com.sun.star. beans
double GetDoubleValue() const
ScSolverOptionsString(const OUString &rStr)
void SetMax(double fValue)
std::unique_ptr< weld::Frame > m_xFrame
void SetValue(sal_Int32 nValue)
std::shared_ptr< ScSolverIntegerDialog > m_xIntDialog
virtual ~ScSolverOptionsDialog() override
std::unique_ptr< weld::Button > m_xBtnEdit
const OUString & GetText() const
css::uno::Sequence< css::beans::PropertyValue > maProperties
sal_Int32 GetValue() const
std::unique_ptr< weld::Frame > m_xFrame
std::unique_ptr< weld::ComboBox > m_xLbEngine
void SetOptionName(const OUString &rName)
std::vector< std::unique_ptr< ScSolverOptionsString > > m_aOptions
std::unique_ptr< weld::TreeView > m_xLbSettings