19#ifndef INCLUDED_SVX_RELFLD_HXX
20#define INCLUDED_SVX_RELFLD_HXX
43 void EnableRelativeMode( sal_uInt16 nMin, sal_uInt16 nMax );
44 void SetRelative(
bool bRelative );
48 void set_sensitive(
bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
57 OUString
get_text()
const {
return m_xSpinButton->get_text(); }
58 void set_text(
const OUString& rText) { m_xSpinButton->set_text(rText); }
bool get_value_changed_from_saved() const
std::unique_ptr< weld::MetricSpinButton > m_xSpinButton
void set_text(const OUString &rText)
int normalize(int nValue) const
int GetCoreValue(MapUnit eUnit) const
void SetMetricValue(int lCoreValue, MapUnit eUnit)
void connect_value_changed(const Link< weld::MetricSpinButton &, void > &rLink)
DECL_DLLPRIVATE_LINK(ModifyHdl, weld::Entry &, void)
void set_min(int min, FieldUnit eValueUnit)
int denormalize(int nValue) const
void EnableNegativeMode()
int get_min(FieldUnit eValueUnit) const
void SetFieldUnit(FieldUnit eUnit, bool bAll=false)
void set_max(int max, FieldUnit eValueUnit)
weld::SpinButton & get_widget()
int get_value(FieldUnit eDestUnit) const
void set_value(int nValue, FieldUnit eValueUnit)
OUString get_text() const
void set_sensitive(bool sensitive)
SwNodeOffset min(const SwNodeOffset &a, const SwNodeOffset &b)