diff options
author | Thomas Lange <tl@openoffice.org> | 2001-03-08 08:19:35 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-03-08 08:19:35 +0000 |
commit | 5f09c8ea6b4f2fb9edca40626f27def0593fe2d8 (patch) | |
tree | 72fa8fae5d2603a63899fa080912836e594ab8f0 /starmath | |
parent | 69ed114e336d11908371d740466c2934c0198c81 (diff) |
#82063# EditEngine and EditEngineItemPool now moved from SmEditWindow to SmDocShell
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 5b4a0d763b5e..03076008f47c 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -2,9 +2,9 @@ * * $RCSfile: document.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2001-02-06 15:56:00 $ + * last change: $Author: tl $ $Date: 2001-03-08 09:19:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,7 +131,10 @@ SO2_DECL_REF(SvStorageStream) * oder dann auch NULL ist, uebernimmt die DocShell in der Methode GetPrt(), * fuer die der Access auch Friend der DocShell ist. */ + class SmDocShell; +class EditEngine; +class EditEngineItemPool; class SmPrinterAccess { @@ -157,7 +160,8 @@ class SmDocShell : public SfxObjectShell, public SfxInPlaceObject, public SfxLis SmNode *pTree; SvInPlaceMenuBar *pMenuBar; SfxMenuBarManager *pMenuMgr; - SfxUndoManager *pUndoMgr; + SfxItemPool *pEditEngineItemPool; + EditEngine *pEditEngine; SfxPrinter *pPrinter; //Siehe Kommentar zum SmPrinter Access! Printer *pTmpPrinter; //ebenfalls long nLeftBorder, @@ -252,7 +256,10 @@ public: void Parse(); SmParser & GetParser() { return aInterpreter; } const SmNode * GetFormulaTree() const { return pTree; } - void SetFormulaTree(SmNode *&rTree) { pTree = rTree; } + void SetFormulaTree(SmNode *&rTree) { pTree = rTree; } + + EditEngine & GetEditEngine(); + SfxItemPool & GetEditEngineItemPool(); void Draw(OutputDevice &rDev, Point &rPosition); Size GetSize(); @@ -270,7 +277,7 @@ public: virtual void SetVisArea (const Rectangle & rVisArea); virtual void UIActivate (BOOL bActivate); -virtual void SetModified(BOOL bModified); + virtual void SetModified(BOOL bModified); }; |