51 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory,
52 const OUString& _rUnoControlModelTypeName,
53 const OUString& _rDefault
57 const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
63 virtual void SAL_CALL
getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle)
const override;
66 css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle,
const css::uno::Any& _rValue )
override;
68 css::uno::Sequence< css::beans::Property >& _rProps
70 using ::cppu::OPropertySetHelper::getFastPropertyValue;
73 virtual css::uno::Sequence< css::uno::Type >
an OBoundControlModel which features the exchange of a reference value
OReferenceValueComponent(const OReferenceValueComponent *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const 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 sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
void setDefaultChecked(ToggleState _eChecked)
virtual css::uno::Any getDefaultForReset() const override
returns the default which should be used when resetting the control
virtual ~OReferenceValueComponent() override
virtual css::uno::Any translateControlValueToExternalValue() const override
commits the current control value to our external value binding
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
OReferenceValueComponent(const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, const OUString &_rUnoControlModelTypeName, const OUString &_rDefault)
const OUString & getReferenceValue() const
OUString m_sNoCheckReferenceValue
ToggleState getDefaultChecked() const
virtual void describeFixedProperties(css::uno::Sequence< css::beans::Property > &_rProps) const override
describes the properties provided by this class, or its respective derived class
const OUString & getNoCheckReferenceValue() const
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 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
OUString m_sReferenceValue
ToggleState m_eDefaultChecked
void setReferenceValue(const OUString &_rRefValue)
ListBox is a bit confusing / different from other form components, so here are a few notes: