summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/drawview.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-01-20 10:50:30 +0000
committerOliver Bolte <obo@openoffice.org>2004-01-20 10:50:30 +0000
commit306947ff02a7394acd65cedcc274029118c9a71c (patch)
tree8258aefd282d385e24d59a1f2b6b7ecfb6ad67cd /sd/source/ui/inc/drawview.hxx
parenta031bdd1ae15fc24d5610c3e4612b6507ece0be3 (diff)
INTEGRATION: CWS impress1 (1.1.1.1.262); FILE MERGED
2004/01/09 15:50:24 af 1.1.1.1.262.3: #111996# Renamed DrawView.hxx back to drawview.hxx due to problems under Windows. 2003/09/29 13:44:34 af 1.1.1.1.262.2: #111996# Renamed to DrawView.hxx. 2003/09/16 13:41:16 af 1.1.1.1.262.1: #111996# Introduction of namespace sd. Use of sub-shells.
Diffstat (limited to 'sd/source/ui/inc/drawview.hxx')
-rw-r--r--sd/source/ui/inc/drawview.hxx74
1 files changed, 40 insertions, 34 deletions
diff --git a/sd/source/ui/inc/drawview.hxx b/sd/source/ui/inc/drawview.hxx
index 36f9f538068f..49c1b67cc543 100644
--- a/sd/source/ui/inc/drawview.hxx
+++ b/sd/source/ui/inc/drawview.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drawview.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ * last change: $Author: obo $ $Date: 2004-01-20 11:50:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,51 +59,39 @@
*
************************************************************************/
-#ifndef _SD_DRAWVIEW_HXX
-#define _SD_DRAWVIEW_HXX
+#ifndef SD_DRAW_VIEW_HXX
+#define SD_DRAW_VIEW_HXX
+#ifndef SD_VIEW_HXX
+#include "View.hxx"
+#endif
-//#ifndef _SD_SDVIEW_HXX
-#include "sdview.hxx"
-//#endif
-class SdDrawDocShell;
-class SdDrawViewShell;
+namespace sd {
+
+class DrawDocShell;
+class DrawViewShell;
class FuSlideShow;
#define SDDRAWVIEW_MAGIC 0x456789BA
/*************************************************************************
|*
-|* Ableitung von SdView; enthaelt auch einen Zeiger auf das Dokument
+|* Ableitung von ::sd::View; enthaelt auch einen Zeiger auf das Dokument
|*
\************************************************************************/
-class SdDrawView : public SdView
+class DrawView
+ : public ::sd::View
{
- SdDrawDocShell* pDocShell;
- SdDrawViewShell* pDrawViewShell;
- VirtualDevice* pVDev;
-
- USHORT nPOCHSmph; // zum blockieren des PageOrderChangedHint
- USHORT nPresPaintSmph; // zum Blockieren des Zeichnens
- // in der Diashow
- BOOL bPixelMode;
- FuSlideShow* pSlideShow;
- BOOL bInAnimation;
- ULONG nMagic;
-
- BOOL bActionMode;
-
- protected:
- virtual void ModelHasChanged();
-
- public:
+public:
TYPEINFO();
- SdDrawView(SdDrawDocShell* pDocSh, OutputDevice* pOutDev,
- SdDrawViewShell* pShell);
- ~SdDrawView();
+ DrawView (
+ DrawDocShell* pDocSh,
+ OutputDevice* pOutDev,
+ DrawViewShell* pShell);
+ virtual ~DrawView (void);
virtual void MarkListHasChanged();
void InitRedraw(OutputDevice* pOutDev, const Region& rReg);
@@ -138,8 +126,26 @@ class SdDrawView : public SdView
FuSlideShow* GetSlideShow() { return pSlideShow; }
virtual SdrObject* GetMaxToBtmObj(SdrObject* pObj) const;
-};
+protected:
+ virtual void ModelHasChanged();
+
+private:
+ DrawDocShell* pDocShell;
+ DrawViewShell* pDrawViewShell;
+ VirtualDevice* pVDev;
+
+ USHORT nPOCHSmph; // zum blockieren des PageOrderChangedHint
+ USHORT nPresPaintSmph; // zum Blockieren des Zeichnens
+ // in der Diashow
+ BOOL bPixelMode;
+ FuSlideShow* pSlideShow;
+ BOOL bInAnimation;
+ ULONG nMagic;
+
+ BOOL bActionMode;
+};
+} // end of namespace sd
-#endif // _SD_DRAWVIEW_HXX
+#endif