diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unoobj.hxx | 12 | ||||
-rw-r--r-- | sw/inc/unotbl.hxx | 22 |
2 files changed, 28 insertions, 6 deletions
diff --git a/sw/inc/unoobj.hxx b/sw/inc/unoobj.hxx index 98594a3a3918..c5c3f5279968 100644 --- a/sw/inc/unoobj.hxx +++ b/sw/inc/unoobj.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unoobj.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:29 $ + * last change: $Author: os $ $Date: 2000-09-22 09:34:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,6 +64,9 @@ #ifndef _SFX_ITEMPROP_HXX #include <svtools/itemprop.hxx> #endif +#ifndef _SVARRAY_HXX //autogen +#include <svtools/svarray.hxx> +#endif #ifndef _CALBCK_HXX //autogen #include <calbck.hxx> #endif @@ -277,10 +280,15 @@ void ClientModify(SwClient* pClient, SfxPoolItem *pOld, SfxPoolItem *pNew); /* -----------------22.04.99 11:18------------------- * Verwaltung der EventListener * --------------------------------------------------*/ +typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > * XEventListenerPtr; +SV_DECL_PTRARR(SwEvtLstnrArray, XEventListenerPtr, 4, 4); class SwEventListenerContainer { SwEvtLstnrArray* pListenerArr; ::com::sun::star::uno::XInterface* pxParent; + protected: + SwEvtLstnrArray* GetListenerArray() {return pListenerArr;} + ::com::sun::star::uno::XInterface* GetParent() {return pxParent;} public: SwEventListenerContainer( ::com::sun::star::uno::XInterface* pxParent); ~SwEventListenerContainer(); diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 01cb5461b56f..c77311b39d9a 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unotbl.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:29 $ + * last change: $Author: os $ $Date: 2000-09-22 09:34:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,19 @@ class SwTableCursor; class SwTableBoxFmt; class SwTableLine; class SwTableCursor; +/* -----------------------------22.09.00 11:10-------------------------------- + ---------------------------------------------------------------------------*/ +class SwChartEventListenerContainer : public SwEventListenerContainer +{ + public: + SwChartEventListenerContainer( ::com::sun::star::uno::XInterface* pxParent) : + SwEventListenerContainer(pxParent){} + void ChartDataChanged(); +}; +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ typedef cppu::WeakImplHelper4 < @@ -298,7 +310,8 @@ class SwXTextTable : public cppu::WeakImplHelper9 >, public SwClient { - SwEventListenerContainer aLstnrCntnr; + SwEventListenerContainer aLstnrCntnr; + SwChartEventListenerContainer aChartLstnrCntnr; SfxItemPropertySet aPropSet; const SfxItemPropertyMap* _pMap; SwSortOptions* pLastSortOptions; @@ -418,7 +431,8 @@ class SwXCellRange : public cppu::WeakImplHelper6 >, public SwClient { - SwDepend aCursorDepend; //the cursor is removed after the doc has been removed + SwDepend aCursorDepend; //the cursor is removed after the doc has been removed + SwChartEventListenerContainer aChartLstnrCntnr; SwRangeDescriptor aRgDesc; SfxItemPropertySet aPropSet; |