LibreOffice Module toolkit (master) 1
|
#include <vclxwindows.hxx>
Public Member Functions | |
SVTXFormattedField () | |
virtual | ~SVTXFormattedField () override |
void SAL_CALL | setProperty (const OUString &PropertyName, const css::uno::Any &Value) override |
css::uno::Any SAL_CALL | getProperty (const OUString &PropertyName) override |
Public Member Functions inherited from VCLXSpinField | |
VCLXSpinField () | |
void SAL_CALL | addSpinListener (const css::uno::Reference< css::awt::XSpinListener > &l) override |
void SAL_CALL | removeSpinListener (const css::uno::Reference< css::awt::XSpinListener > &l) override |
void SAL_CALL | up () override |
void SAL_CALL | down () override |
void SAL_CALL | first () override |
void SAL_CALL | last () override |
void SAL_CALL | enableRepeat (sal_Bool bRepeat) override |
virtual void | GetPropertyIds (std::vector< sal_uInt16 > &aIds) override |
Protected Member Functions | |
void | setFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &xSupplier) |
sal_Int32 | getFormatKey () const |
void | setFormatKey (sal_Int32 nKey) |
void | SetValue (const css::uno::Any &rValue) |
css::uno::Any | GetValue () const |
void | SetTreatAsNumber (bool bSet) |
bool | GetTreatAsNumber () const |
void | SetDefaultValue (const css::uno::Any &rValue) |
css::uno::Any | GetDefaultValue () const |
void | SetMinValue (const css::uno::Any &rValue) |
css::uno::Any | GetMinValue () const |
void | SetMaxValue (const css::uno::Any &rValue) |
css::uno::Any | GetMaxValue () const |
void | NotifyTextListeners () |
css::uno::Any | convertEffectiveValue (const css::uno::Any &rValue) const |
virtual void | SetWindow (const VclPtr< vcl::Window > &_pWindow) override |
virtual void | GetPropertyIds (std::vector< sal_uInt16 > &aIds) override |
Protected Member Functions inherited from VCLXSpinField | |
void | ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override |
Static Protected Member Functions | |
static void | ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds) |
Private Attributes | |
rtl::Reference< SvNumberFormatsSupplierObj > | m_xCurrentSupplier |
bool | bIsStandardSupplier |
sal_Int32 | nKeyToSetDelayed |
Additional Inherited Members | |
Static Public Member Functions inherited from VCLXSpinField | |
static void | ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds) |
Definition at line 438 of file include/toolkit/awt/vclxwindows.hxx.
SVTXFormattedField::SVTXFormattedField | ( | ) |
Definition at line 6513 of file vclxwindows.cxx.
|
overridevirtual |
Definition at line 6519 of file vclxwindows.cxx.
|
protected |
Definition at line 6723 of file vclxwindows.cxx.
References aStr, d, Formatter::GetFormatter(), SvNumberFormatter::GetOutputString(), SvNumberFormatter::IsNumberFormat(), Formatter::StandardFormatter(), and Formatter::TreatingAsNumber().
Referenced by SetDefaultValue().
|
protected |
Definition at line 6899 of file vclxwindows.cxx.
References Formatter::GetDefaultText(), Formatter::GetDefaultValue(), Formatter::IsEmptyFieldEnabled(), and Formatter::TreatingAsNumber().
Referenced by getProperty().
|
protected |
Definition at line 7028 of file vclxwindows.cxx.
Referenced by getProperty().
|
protected |
Definition at line 6853 of file vclxwindows.cxx.
References Formatter::GetMaxValue(), and Formatter::HasMaxValue().
Referenced by getProperty().
|
protected |
Definition at line 6812 of file vclxwindows.cxx.
References Formatter::GetMinValue(), and Formatter::HasMinValue().
Referenced by getProperty().
|
override |
Definition at line 6655 of file vclxwindows.cxx.
References BASEPROPERTY_DECIMALACCURACY, BASEPROPERTY_EFFECTIVE_DEFAULT, BASEPROPERTY_EFFECTIVE_MAX, BASEPROPERTY_EFFECTIVE_MIN, BASEPROPERTY_EFFECTIVE_VALUE, BASEPROPERTY_FORMATKEY, BASEPROPERTY_FORMATSSUPPLIER, BASEPROPERTY_TREATASNUMBER, BASEPROPERTY_VALUE_DOUBLE, BASEPROPERTY_VALUEMAX_DOUBLE, BASEPROPERTY_VALUEMIN_DOUBLE, BASEPROPERTY_VALUESTEP_DOUBLE, bIsStandardSupplier, Formatter::GetDecimalDigits(), GetDefaultValue(), getFormatKey(), GetMaxValue(), GetMinValue(), GetPropertyId(), Formatter::GetSpinSize(), GetTreatAsNumber(), GetValue(), and m_xCurrentSupplier.
Referenced by SVTXCurrencyField::getProperty().
|
inlineoverrideprotectedvirtual |
Reimplemented from VCLXSpinField.
Definition at line 478 of file include/toolkit/awt/vclxwindows.hxx.
References ImplGetPropertyIds().
|
protected |
Definition at line 6916 of file vclxwindows.cxx.
Referenced by getProperty().
|
protected |
Definition at line 6932 of file vclxwindows.cxx.
References Formatter::GetTextValue(), Formatter::GetValue(), and Formatter::TreatingAsNumber().
Referenced by getProperty(), and setFormatsSupplier().
|
staticprotected |
Definition at line 7063 of file vclxwindows.cxx.
References BASEPROPERTY_DECIMALACCURACY, BASEPROPERTY_EFFECTIVE_DEFAULT, BASEPROPERTY_EFFECTIVE_MAX, BASEPROPERTY_EFFECTIVE_MIN, BASEPROPERTY_EFFECTIVE_VALUE, BASEPROPERTY_ENFORCE_FORMAT, BASEPROPERTY_FORMATKEY, BASEPROPERTY_FORMATSSUPPLIER, BASEPROPERTY_NUMSHOWTHOUSANDSEP, BASEPROPERTY_TREATASNUMBER, BASEPROPERTY_VALUE_DOUBLE, BASEPROPERTY_VALUEMAX_DOUBLE, BASEPROPERTY_VALUEMIN_DOUBLE, BASEPROPERTY_VALUESTEP_DOUBLE, VCLXSpinField::ImplGetPropertyIds(), and VCLXWindow::ImplGetPropertyIds().
Referenced by GetPropertyIds(), and SVTXNumericField::GetPropertyIds().
|
protected |
Definition at line 7053 of file vclxwindows.cxx.
References aEvent, and getLength().
Referenced by setFormatKey(), and setFormatsSupplier().
|
protected |
Definition at line 6867 of file vclxwindows.cxx.
References aStr, convertEffectiveValue(), d, Formatter::EnableEmptyField(), Formatter::SetDefaultText(), and Formatter::SetDefaultValue().
Referenced by setProperty().
|
protected |
Definition at line 7034 of file vclxwindows.cxx.
References Formatter::GetFormatter(), nKeyToSetDelayed, NotifyTextListeners(), and Formatter::SetFormatKey().
Referenced by setProperty().
|
protected |
Definition at line 6988 of file vclxwindows.cxx.
References bIsStandardSupplier, GetValue(), m_xCurrentSupplier, nKeyToSetDelayed, NotifyTextListeners(), Formatter::SetFormatKey(), Formatter::SetFormatter(), SetValue(), and Formatter::StandardFormatter().
Referenced by setProperty().
|
protected |
Definition at line 6826 of file vclxwindows.cxx.
References Formatter::ClearMaxValue(), d, and Formatter::SetMaxValue().
Referenced by setProperty().
|
protected |
Definition at line 6783 of file vclxwindows.cxx.
References Formatter::ClearMinValue(), d, DBG_ASSERT, and Formatter::SetMinValue().
Referenced by setProperty().
|
override |
Definition at line 6530 of file vclxwindows.cxx.
References BASEPROPERTY_DECIMALACCURACY, BASEPROPERTY_EFFECTIVE_DEFAULT, BASEPROPERTY_EFFECTIVE_MAX, BASEPROPERTY_EFFECTIVE_MIN, BASEPROPERTY_EFFECTIVE_VALUE, BASEPROPERTY_ENFORCE_FORMAT, BASEPROPERTY_FORMATKEY, BASEPROPERTY_FORMATSSUPPLIER, BASEPROPERTY_NUMSHOWTHOUSANDSEP, BASEPROPERTY_TEXTCOLOR, BASEPROPERTY_TREATASNUMBER, BASEPROPERTY_VALUE_DOUBLE, BASEPROPERTY_VALUEMAX_DOUBLE, BASEPROPERTY_VALUEMIN_DOUBLE, BASEPROPERTY_VALUESTEP_DOUBLE, d, Formatter::EnableNotANumber(), GetPropertyId(), n, nValue, Formatter::SetAutoColor(), Formatter::SetDecimalDigits(), SetDefaultValue(), setFormatKey(), setFormatsSupplier(), SetMaxValue(), SetMinValue(), Formatter::SetSpinSize(), Formatter::SetThousandsSep(), SetTreatAsNumber(), SetValue(), and Value.
Referenced by SVTXCurrencyField::setProperty().
|
protected |
Definition at line 6925 of file vclxwindows.cxx.
Referenced by setProperty().
|
protected |
Definition at line 6954 of file vclxwindows.cxx.
References d, DBG_ASSERT, Formatter::SetTextFormatted(), Formatter::SetTextValue(), Formatter::SetValue(), and Formatter::TreatingAsNumber().
Referenced by setFormatsSupplier(), and setProperty().
|
overrideprotectedvirtual |
Definition at line 6523 of file vclxwindows.cxx.
|
private |
Definition at line 441 of file include/toolkit/awt/vclxwindows.hxx.
Referenced by getProperty(), and setFormatsSupplier().
|
private |
Definition at line 440 of file include/toolkit/awt/vclxwindows.hxx.
Referenced by getProperty(), and setFormatsSupplier().
|
private |
Definition at line 442 of file include/toolkit/awt/vclxwindows.hxx.
Referenced by setFormatKey(), and setFormatsSupplier().