LibreOffice Module sc (master) 1
|
An edit control that contains a double precision floating-point value. More...
#include <editfield.hxx>
Public Member Functions | |
ScDoubleField (std::unique_ptr< weld::Entry > xEntry) | |
bool | GetValue (double &rfValue) const |
void | SetValue (double fValue, sal_Int32 nDecPlaces=12) |
weld::Entry & | get_widget () |
void | grab_focus () |
bool | get_sensitive () const |
void | set_sensitive (bool bSensitive) |
Private Attributes | |
std::unique_ptr< weld::Entry > | m_xEntry |
An edit control that contains a double precision floating-point value.
Definition at line 25 of file editfield.hxx.
|
explicit |
Definition at line 38 of file editfield.cxx.
|
inline |
Definition at line 39 of file editfield.hxx.
References m_xEntry.
|
inline |
Definition at line 36 of file editfield.hxx.
References m_xEntry.
bool ScDoubleField::GetValue | ( | double & | rfValue | ) | const |
Definition at line 43 of file editfield.cxx.
References aStr, ScGlobal::getLocaleData(), m_xEntry, LocaleDataWrapper::stringToDouble(), and comphelper::string::strip().
Referenced by ScDPNumGroupEditHelper::ImplGetValue().
|
inline |
Definition at line 38 of file editfield.hxx.
References m_xEntry.
|
inline |
Definition at line 40 of file editfield.hxx.
References m_xEntry.
void ScDoubleField::SetValue | ( | double | fValue, |
sal_Int32 | nDecPlaces = 12 |
||
) |
Definition at line 57 of file editfield.cxx.
References m_xEntry.
Referenced by ScDPNumGroupEditHelper::ImplSetValue().
|
private |
Definition at line 28 of file editfield.hxx.
Referenced by get_sensitive(), get_widget(), GetValue(), grab_focus(), set_sensitive(), and SetValue().