diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-03-21 21:44:14 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-22 16:40:15 +0000 |
commit | 1d0c1d4b8298c52b226e5c39b4dd98f9ec38a222 (patch) | |
tree | 6e8fa988c31d675b7aee30348cef61d1a94f7f2e /sw/inc | |
parent | 7e9010735b62397c7eae87444aca3677a79f1223 (diff) |
implement part of XMultiPropertySet on SwXTextCursor.
Change-Id: I903f049a3bdba96a8e1ac613ca8b9443a062fe8f
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unotextcursor.hxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx index 485a4df58ee9..d0b0dde75dd9 100644 --- a/sw/inc/unotextcursor.hxx +++ b/sw/inc/unotextcursor.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyState.hpp> +#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XMultiPropertyStates.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/container/XContentEnumerationAccess.hpp> @@ -34,7 +35,7 @@ #include <com/sun/star/text/XParagraphCursor.hpp> #include <com/sun/star/text/XRedline.hpp> -#include <cppuhelper/implbase12.hxx> +#include <cppuhelper/implbase13.hxx> #include <comphelper/uno3.hxx> @@ -47,10 +48,11 @@ struct SwPosition; class SwUnoCrsr; -typedef ::cppu::WeakImplHelper12 +typedef ::cppu::WeakImplHelper13 < ::com::sun::star::lang::XServiceInfo , ::com::sun::star::beans::XPropertySet , ::com::sun::star::beans::XPropertyState +, ::com::sun::star::beans::XMultiPropertySet , ::com::sun::star::beans::XMultiPropertyStates , ::com::sun::star::container::XEnumerationAccess , ::com::sun::star::container::XContentEnumerationAccess @@ -191,6 +193,21 @@ public: ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + // XMultiPropertySet + virtual void SAL_CALL setPropertyValues( + const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, + const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL + getPropertyValues( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ); + virtual void SAL_CALL addPropertiesChangeListener( + const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, + const ::com::sun::star::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ); + virtual void SAL_CALL removePropertiesChangeListener( + const ::com::sun::star::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ); + virtual void SAL_CALL firePropertiesChangeEvent( + const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, + const ::com::sun::star::uno::Reference< css::beans::XPropertiesChangeListener >& xListener ); + // XMultiPropertyStates virtual void SAL_CALL setAllPropertiesToDefault() throw (::com::sun::star::uno::RuntimeException); |