diff options
Diffstat (limited to 'include/sfx2/lokcallback.hxx')
-rw-r--r-- | include/sfx2/lokcallback.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/sfx2/lokcallback.hxx b/include/sfx2/lokcallback.hxx index 6f59402d0cec..a277d32a808c 100644 --- a/include/sfx2/lokcallback.hxx +++ b/include/sfx2/lokcallback.hxx @@ -13,6 +13,10 @@ #include <vector> +namespace rtl +{ +class OStringBuffer; +} namespace tools { class Rectangle; @@ -37,7 +41,8 @@ public: // LOK_CALLBACK_INVALIDATE_TILES // nPart is either part, -1 for all-parts, or INT_MIN if // comphelper::LibreOfficeKit::isPartInInvalidation() is not set - virtual void libreOfficeKitViewInvalidateTilesCallback(const tools::Rectangle* pRect, int nPart) + virtual void libreOfficeKitViewInvalidateTilesCallback(const tools::Rectangle* pRect, int nPart, + int nMode) = 0; // A message of the given type should be sent, for performance purpose only a notification // is given here, details about the message should be queried from SfxViewShell when necessary. @@ -48,6 +53,10 @@ public: virtual void libreOfficeKitViewUpdatedCallbackPerViewId(int nType, int nViewId, int nSourceViewId) = 0; + // There are pending invalidate tiles calls that need to be processed. + // A call to SfxViewShell::flushPendingLOKInvalidateTiles() should be scheduled. + virtual void libreOfficeKitViewAddPendingInvalidateTiles() = 0; + virtual void dumpState(rtl::OStringBuffer& rState) = 0; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |