summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-04-03 12:56:02 +0000
committerKurt Zenker <kz@openoffice.org>2008-04-03 12:56:02 +0000
commit55d9da492fbe6c184e9026d5f1936470ee131b59 (patch)
tree18fe0c454f22aa9a8268a4f6ff0304b3002dcfd8
parentc160a47b3697a9f7a14e18fc081fdf0c830d3a1e (diff)
INTEGRATION: CWS presenterview (1.13.256); FILE MERGED
2007/09/25 07:43:46 af 1.13.256.2: #i18486# Added disposing(). 2007/09/11 11:23:17 af 1.13.256.1: #i18486# Turned SubControllers into components.
-rw-r--r--sd/source/ui/inc/SdUnoOutlineView.hxx76
1 files changed, 51 insertions, 25 deletions
diff --git a/sd/source/ui/inc/SdUnoOutlineView.hxx b/sd/source/ui/inc/SdUnoOutlineView.hxx
index a5ad07909cf7..490720f787a2 100644
--- a/sd/source/ui/inc/SdUnoOutlineView.hxx
+++ b/sd/source/ui/inc/SdUnoOutlineView.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: SdUnoOutlineView.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2006-03-21 17:25:51 $
+ * last change: $Author: kz $ $Date: 2008-04-03 13:56:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,16 +36,15 @@
#ifndef SD_UNO_OUTLINE_VIEW_HXX
#define SD_UNO_OUTLINE_VIEW_HXX
-#ifndef SD_DRAW_SUB_CONTROLLER_HXX
#include "DrawSubController.hxx"
-#endif
-
-#ifndef _COM_SUN_STAR_LANG_EVENTOBJECT_HPP_
+#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/lang/EventObject.hpp>
-#endif
+
class SdPage;
+namespace css = ::com::sun::star;
+
namespace sd {
class DrawController;
@@ -56,7 +55,8 @@ class View;
/** This class implements the OutlineViewShell specific part of the controller.
*/
class SdUnoOutlineView
- : public DrawSubController
+ : private cppu::BaseMutex,
+ public DrawSubControllerInterfaceBase
{
public:
SdUnoOutlineView (
@@ -65,28 +65,54 @@ public:
View& rView) throw();
virtual ~SdUnoOutlineView (void) throw();
+ virtual void SAL_CALL disposing (void);
+
+
// XSelectionSupplier
- virtual sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& aSelection ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getSelection( ) throw(::com::sun::star::uno::RuntimeException);
+
+ virtual sal_Bool SAL_CALL select (
+ const css::uno::Any& aSelection)
+ throw(css::lang::IllegalArgumentException,
+ css::uno::RuntimeException);
+
+ virtual css::uno::Any SAL_CALL getSelection (void)
+ throw(css::uno::RuntimeException);
+
+ virtual void SAL_CALL addSelectionChangeListener (
+ const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
+ throw(css::uno::RuntimeException);
+
+ virtual void SAL_CALL removeSelectionChangeListener (
+ const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
+ throw(css::uno::RuntimeException);
+
// XDrawView
- virtual void SAL_CALL setCurrentPage( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage ) throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL getCurrentPage( ) throw(::com::sun::star::uno::RuntimeException);
-protected:
- virtual sal_Bool SAL_CALL convertFastPropertyValue(
- ::com::sun::star::uno::Any & rConvertedValue,
- ::com::sun::star::uno::Any & rOldValue,
- sal_Int32 nHandle,
- const ::com::sun::star::uno::Any& rValue )
- throw (::com::sun::star::lang::IllegalArgumentException);
- virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
+ virtual void SAL_CALL setCurrentPage (
+ const css::uno::Reference<css::drawing::XDrawPage >& xPage)
+ throw(css::uno::RuntimeException);
+
+ virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage (void)
+ throw(css::uno::RuntimeException);
+
+
+ // XFastPropertySet
+
+ virtual void SAL_CALL setFastPropertyValue (
sal_Int32 nHandle,
- const ::com::sun::star::uno::Any& rValue )
- throw (::com::sun::star::uno::Exception);
- virtual void SAL_CALL getFastPropertyValue(
- ::com::sun::star::uno::Any& rValue,
- sal_Int32 nHandle ) const;
+ const css::uno::Any& rValue)
+ throw(css::beans::UnknownPropertyException,
+ css::beans::PropertyVetoException,
+ css::lang::IllegalArgumentException,
+ css::lang::WrappedTargetException,
+ css::uno::RuntimeException);
+
+ virtual css::uno::Any SAL_CALL getFastPropertyValue (
+ sal_Int32 nHandle)
+ throw(css::beans::UnknownPropertyException,
+ css::lang::WrappedTargetException,
+ css::uno::RuntimeException);
// lang::XEventListener
virtual void SAL_CALL