diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-09-05 15:01:34 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-11-21 12:37:03 +0100 |
commit | d29349a3f8808e650a9432bd087e352845e8b0d3 (patch) | |
tree | a1e974477e994b74ebccb053a69d431bb9ae4f76 /include | |
parent | 5762aa5c0efb75e8b7713b4c2ee8bd9300fc06cf (diff) |
lok: Notify about last used row and column in Calc
We use HelperNotifyChanges::NotifyIfChangesListeners
notifier so we know which cell was modified and we
can correctly target only affected users.
Change-Id: Iaeb68e350e85e4ed1492a7d350a790e68f2d63af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139473
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142994
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/lokhelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx index fb2d767b7b66..c3b05b7927e5 100644 --- a/include/sfx2/lokhelper.hxx +++ b/include/sfx2/lokhelper.hxx @@ -119,6 +119,8 @@ public: static void notifyDocumentSizeChanged(SfxViewShell const* pThisView, const OString& rPayload, vcl::ITiledRenderable* pDoc, bool bInvalidateAll = true); /// Emits a LOK_CALLBACK_DOCUMENT_SIZE_CHANGED for all views of the same document - if @bInvalidateAll - first invalidates all parts static void notifyDocumentSizeChangedAllViews(vcl::ITiledRenderable* pDoc, bool bInvalidateAll = true); + /// Emits a LOK_CALLBACK_DOCUMENT_SIZE_CHANGED for all views of the same document with the same part + static void notifyPartSizeChangedAllViews(vcl::ITiledRenderable* pDoc, int nPart); /// Emits a LOK_CALLBACK_INVALIDATE_TILES, but tweaks it according to setOptionalFeatures() if needed. static void notifyInvalidation(SfxViewShell const* pThisView, tools::Rectangle const *); /// Notifies all views with the given type and payload. |