diff options
Diffstat (limited to 'sw/inc/unotextcursor.hxx')
-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); |