37 virtual css::uno::Sequence< css::uno::Type>
_getTypes()
override;
41 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
45 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
54 virtual void SAL_CALL
getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle )
const override;
56 sal_Int32 nHandle,
const css::uno::Any& rValue )
override;
61 {
return "com.sun.star.form.ODateModel"; }
70 css::uno::Sequence< css::beans::Property >& _rProps
81 virtual css::uno::Sequence< css::uno::Type >
91 virtual void onConnectedDbColumn(
const css::uno::Reference< css::uno::XInterface >& _rxForm )
override;
94 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL
createClone( )
override;
100 virtual css::uno::Sequence< css::uno::Type>
_getTypes()
override;
103 explicit ODateControl(
const css::uno::Reference< css::uno::XComponentContext>& _rxFactory);
108 {
return "com.sun.star.form.ODateControl"; }
OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Sequence< css::uno::Type > _getTypes() override
ODateControl(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual css::uno::Sequence< css::uno::Type > _getTypes() override
virtual void onConnectedDbColumn(const css::uno::Reference< css::uno::XInterface > &_rxForm) override
called whenever a connection to a database column has been established
virtual void describeFixedProperties(css::uno::Sequence< css::beans::Property > &_rProps) const override
describes the properties provided by this class, or its respective derived class
virtual void resetNoBroadcast() override
called to reset the control to some kind of default.
OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual ~ODateModel() override
ODateModel(const ODateModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
ODateModel(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual css::uno::Any translateDbColumnToControlValue() override
translates a db column value into a control value.
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual css::uno::Any translateExternalValueToControlValue(const css::uno::Any &_rExternalValue) const override
translates the given value, which was obtained from the current external value binding,...
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual css::uno::Any getDefaultForReset() const override
returns the default which should be used when resetting the control
css::uno::Any m_aSaveValue
virtual css::uno::Sequence< css::uno::Type > getSupportedBindingTypes() override
returns the data types which the control could use to exchange data with an external value binding
virtual bool commitControlValueToDbColumn(bool _bPostReset) override
commits the current control value to the database column we're bound to @precond we're properly bound...
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Any translateControlValueToValidatableValue() const override
retrieves the current value of the control, in a shape which can be used with our external validator.
virtual css::uno::Any translateControlValueToExternalValue() const override
commits the current control value to our external value binding
virtual OUString SAL_CALL getServiceName() override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
ListBox is a bit confusing / different from other form components, so here are a few notes:
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass)