diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-10-04 17:35:34 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-10-04 17:35:34 +0000 |
commit | 901b70f010c8545a7aa284037970eecc93c5ccea (patch) | |
tree | 2eaec2a97d98419b0c7ded5755932a881b564e63 /sd/source/ui/inc/Client.hxx | |
parent | c60eb6ce630022a62a0079796ee9e0f56e0cef83 (diff) |
INTEGRATION: CWS mav09 (1.2.82); FILE MERGED
2004/06/14 14:40:52 mba 1.2.82.2: #i27773#: new handling for resizing of active objects
2004/04/27 17:02:01 mba 1.2.82.1: #i27773#: new embedding API
Diffstat (limited to 'sd/source/ui/inc/Client.hxx')
-rw-r--r-- | sd/source/ui/inc/Client.hxx | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx index 57de5bfbf75f..67436979b404 100644 --- a/sd/source/ui/inc/Client.hxx +++ b/sd/source/ui/inc/Client.hxx @@ -2,9 +2,9 @@ * * $RCSfile: Client.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-01-20 11:30:16 $ + * last change: $Author: kz $ $Date: 2004-10-04 18:35:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,7 +64,7 @@ #ifndef _SFX_CLIENTSH_HXX //autogen -#include <sfx2/clientsh.hxx> +#include <sfx2/ipclient.hxx> #endif class SdrGrafObj; class SdrOle2Obj; @@ -80,36 +80,27 @@ class ViewShell; |* \************************************************************************/ -class Client - : public SfxInPlaceClient +class Client : public SfxInPlaceClient { + ViewShell* pViewShell; + SdrOle2Obj* pSdrOle2Obj; + SdrGrafObj* pSdrGrafObj; + OutlinerParaObject* pOutlinerParaObj; + + virtual void ObjectAreaChanged(); + virtual void RequestNewObjectArea( Rectangle& ); + virtual void ViewChanged(); + virtual void MakeVisible(); + public: Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, ::Window* pWindow); virtual ~Client (void); - virtual void RequestObjAreaPixel(const Rectangle& rRect); - virtual void ViewChanged(USHORT nAspect); - virtual void MakeViewData(); - virtual void MakeVisible(); - SdrOle2Obj* GetSdrOle2Obj() const { return pSdrOle2Obj; } - void SetSdrGrafObj(SdrGrafObj* pObj) { pSdrGrafObj = pObj; } SdrGrafObj* GetSdrGrafObj() const { return pSdrGrafObj; } - void SetOutlinerParaObj (OutlinerParaObject* pObj) { pOutlinerParaObj = pObj; } OutlinerParaObject* GetOutlinerParaObject () const { return pOutlinerParaObj; } - - BOOL IsUIActive() const - { return aProt.IsUIActive(); } - -protected: - ViewShell* pViewShell; - SdrOle2Obj* pSdrOle2Obj; - SdrGrafObj* pSdrGrafObj; - OutlinerParaObject* pOutlinerParaObj; - - virtual void UIActivate(BOOL bActivate); }; } // end of namespace sd |