diff options
Diffstat (limited to 'include/editeng/editview.hxx')
-rw-r--r-- | include/editeng/editview.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index fbb6a614efa2..5dd839ba07f6 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -95,12 +95,15 @@ public: // call this when text visualization changed in any way. It // will also update selection, so no need to call this self // additionally (but will also do no harm) - virtual void EditViewInvalidate() const = 0; + virtual void EditViewInvalidate(const tools::Rectangle& rRect) const = 0; // call this when only selection is changed. Text change will // then *not* be checked and not be reacted on. Still, when // only the selection is changed, this is useful and faster virtual void EditViewSelectionChange() const = 0; + + // return the OutputDevice that the EditView will draw to + virtual OutputDevice& EditViewOutputDevice() const = 0; }; class EDITENG_DLLPUBLIC EditView final @@ -130,7 +133,7 @@ public: // set EditViewCallbacks for external handling of Repaints/Visualization void setEditViewCallbacks(const EditViewCallbacks* pEditViewCallbacks); - bool hasEditViewCallbacks() const; + const EditViewCallbacks* getEditViewCallbacks() const; void SetEditEngine( EditEngine* pEditEngine ); EditEngine* GetEditEngine() const; |