summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-10-24 14:54:30 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-10-24 14:54:30 +0000
commitabdf9a8751a08f923302435ae6e215e34a38e35e (patch)
treedb73e54cc16b22e293c4ef4c0b22cb1b9073daf0 /sw/inc/unostyle.hxx
parentdc4a6e4629dff3223ba58fcd658e5f2c0d71fdbe (diff)
#93673# make SwXStyles support XMultiPropertyStates
Diffstat (limited to 'sw/inc/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx22
1 files changed, 16 insertions, 6 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index dc883212b606..5a34b05f702b 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unostyle.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mtg $ $Date: 2001-10-17 12:25:49 $
+ * last change: $Author: mtg $ $Date: 2001-10-24 15:54:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -94,8 +94,11 @@
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATE_HPP_
#include <com/sun/star/beans/XPropertyState.hpp>
#endif
-#ifndef _CPPUHELPER_IMPLBASE6_HXX_
-#include <cppuhelper/implbase6.hxx>
+#ifndef _COM_SUN_STAR_BEANS_XMULTIPROPERTYSTATES_HPP_
+#include <com/sun/star/beans/XMultiPropertyStates.hpp>
+#endif
+#ifndef _CPPUHELPER_IMPLBASE7_HXX_
+#include <cppuhelper/implbase7.hxx>
#endif
#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTSSUPPLIER_HPP_
#include <com/sun/star/document/XEventsSupplier.hpp>
@@ -210,14 +213,15 @@ public:
/* -----------------20.05.98 09:51-------------------
*
* --------------------------------------------------*/
-class SwXStyle : public cppu::WeakImplHelper6
+class SwXStyle : public cppu::WeakImplHelper7
<
::com::sun::star::style::XStyle,
::com::sun::star::beans::XPropertySet,
::com::sun::star::beans::XMultiPropertySet,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::lang::XUnoTunnel,
- ::com::sun::star::beans::XPropertyState
+ ::com::sun::star::beans::XPropertyState,
+ ::com::sun::star::beans::XMultiPropertyStates
>,
public SfxListener,
public SwClient
@@ -293,6 +297,12 @@ public:
virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ //XMultiPropertyStates
+ //virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setAllPropertiesToDefault( ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertiesToDefault( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyDefaults( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
//XServiceInfo
virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );