35 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
39 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
45 {
return "com.sun.star.form.OCurrencyModel"; }
54 css::uno::Sequence< css::beans::Property >& _rProps
66 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL
createClone( )
override;
74 explicit OCurrencyControl(
const css::uno::Reference< css::uno::XComponentContext>& _rxContext);
77 {
return "com.sun.star.form.OCurrencyControl"; }
OUString SAL_CALL getImplementationName() override
OCurrencyControl(const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
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
OUString SAL_CALL getImplementationName() override
virtual ~OCurrencyModel() 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...
css::uno::Any m_aSaveValue
virtual OUString SAL_CALL getServiceName() override
OCurrencyModel(const OCurrencyModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual css::uno::Any translateDbColumnToControlValue() override
translates a db column value into a control value.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
OCurrencyModel(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual css::uno::Any getDefaultForReset() const override
returns the default which should be used when resetting the control
virtual void resetNoBroadcast() override
called to reset the control to some kind of default.
ListBox is a bit confusing / different from other form components, so here are a few notes: