diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-21 19:20:31 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-22 17:55:34 +0200 |
commit | a16bb08013f0ce81def57131526fbb075dd63565 (patch) | |
tree | fcfb435eacf43ab15555385058d2ea96eda4cb73 /forms/source/component/ListBox.hxx | |
parent | 13a159896e3db1edd3f2d258bce1f9732ed8499e (diff) |
Data-aware ListBox: add SelectedValue and SelectedValues properties
Change-Id: Id081e4f6bb765056f17babcfec52a1aedcd7b5d5
Diffstat (limited to 'forms/source/component/ListBox.hxx')
-rw-r--r-- | forms/source/component/ListBox.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index 927befe96f46..7b77883d6b0a 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -206,7 +206,17 @@ protected: protected: DECLARE_XCLONEABLE(); + void init(); + ::com::sun::star::uno::Any getCurrentSingleValue() const; + ::com::sun::star::uno::Any getCurrentMultiValue() const; + ::com::sun::star::uno::Sequence< sal_Int16 > translateBindingValuesToControlValue( + const ::com::sun::star::uno::Sequence< const ::com::sun::star::uno::Any > &i_aValues) + const; + ::com::sun::star::uno::Sequence< sal_Int16 > translateDbValueToControlValue( + const ::connectivity::ORowSetValue &aValue) + const; + private: void loadData( bool _bForce ); |