diff options
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/view.hxx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 295b029457b7..555beca74c2d 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -113,10 +113,9 @@ public: void SetTotalSize(); - SmViewShell& GetView() - { - return mrViewShell; - } + SmViewShell& GetView() { return mrViewShell; } + SmDocShell* GetDoc(); + SmCursor& GetCursor(); const Point& GetFormulaDrawPos() const { @@ -131,6 +130,12 @@ public: return mxAccessible.get(); } + OutputDevice& GetOutputDevice() + { + assert(GetDrawingArea()); + return GetDrawingArea()->get_ref_device(); + } + private: void SetIsCursorVisible(bool bVis) { |