38 virtual css::uno::Sequence< css::uno::Type>
_getTypes()
override;
42 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
46 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.OTimeModel"; }
67 css::uno::Sequence< css::beans::Property >& _rProps
79 virtual css::uno::Sequence< css::uno::Type >
89 virtual void onConnectedDbColumn(
const css::uno::Reference< css::uno::XInterface >& _rxForm )
override;
92 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL
createClone( )
override;
98 virtual css::uno::Sequence< css::uno::Type>
_getTypes()
override;
101 explicit OTimeControl(
const css::uno::Reference< css::uno::XComponentContext>& _rxFactory);
106 {
return "com.sun.star.form.OTimeControl"; }
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual css::uno::Sequence< css::uno::Type > _getTypes() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
OTimeControl(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual OUString SAL_CALL getServiceName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual ~OTimeModel() override
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 css::uno::Any translateControlValueToExternalValue() const override
commits the current control value to our external value binding
virtual css::uno::Any translateDbColumnToControlValue() override
translates a db column value into a control value.
virtual css::uno::Sequence< css::uno::Type > _getTypes() override
css::uno::Any m_aSaveValue
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
OTimeModel(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual void onConnectedDbColumn(const css::uno::Reference< css::uno::XInterface > &_rxForm) override
called whenever a connection to a database column has been established
virtual css::uno::Any getDefaultForReset() const override
returns the default which should be used when resetting the control
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,...
OTimeModel(const OTimeModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
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.
OUString SAL_CALL getImplementationName() override
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 void resetNoBroadcast() override
called to reset the control to some kind of default.
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 css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
ListBox is a bit confusing / different from other form components, so here are a few notes:
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass)