summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-08-31 13:11:58 +0000
committerThomas Lange <tl@openoffice.org>2001-08-31 13:11:58 +0000
commitd325e7d2882bf1df4b4309672e90bf589aedf36b (patch)
treef49baa970c19975fd8a83a198da03a3991b027a6 /starmath/inc
parent61b1371c425fd0f16e284ff06628deb4689f28c2 (diff)
#91122# access to EditEngine (available from the docucument) and SmViewShell from within SmEditWindow changed
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/edit.hxx8
-rw-r--r--starmath/inc/view.hxx6
2 files changed, 8 insertions, 6 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 1ab6bb78746b..4e5ff51f8291 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edit.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jp $ $Date: 2001-07-05 10:52:21 $
+ * last change: $Author: tl $ $Date: 2001-08-31 14:11:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,6 +83,7 @@ class ScrollBar;
class ScrollBarBox;
class DataChangedEvent;
class Menu;
+class SmCmdBoxWindow;
/**************************************************************************/
@@ -93,6 +94,7 @@ class Menu;
class SmEditWindow : public Window, public DropTargetHelper
{
+ SmCmdBoxWindow &rCmdBox;
EditView *pEditView;
ScrollBar *pHScrollBar,
*pVScrollBar;
@@ -133,7 +135,7 @@ class SmEditWindow : public Window, public DropTargetHelper
SfxItemPool * GetEditEngineItemPool();
public:
- SmEditWindow( Window *pParent );
+ SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin );
~SmEditWindow();
// Window
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 1d2e53488e8b..248b43d51738 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: view.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tl $ $Date: 2001-06-01 10:33:41 $
+ * last change: $Author: tl $ $Date: 2001-08-31 14:11:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -195,6 +195,7 @@ public:
void AdjustPosition();
SmEditWindow *GetEditWindow() { return (&aEdit); }
+ SmViewShell *GetView();
void ShowWindows ();
@@ -210,7 +211,6 @@ public:
virtual void StateChanged( StateChangedType nStateChange );
void Grab ();
-
};
/**************************************************************************/