diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-07-28 10:04:58 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-08-08 14:20:11 +0900 |
commit | 941d6792f840ec4f9c9b90a1e96ebbef485c1ba0 (patch) | |
tree | 59f2a323e30902f7469d171e1c6564afd7877e1c /libreofficekit | |
parent | 12ff9056ff468c407af389aa2fbf7943d839b93b (diff) |
lok: send cell selection rectangle and cell area fill rectangle
Instead of text selection start/end for cell selection we send a
cell selection rectangle event. This is needed so we're able to
differentiate when to draw cell selection and text selection
markers.
In addition send cell fill area rectangle, which is the area where
we need to hit to trigger area fill functionality in Calc.
Reviewed-on: https://gerrit.libreoffice.org/76491
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 23ed3a19cb0d53639d817af9b802a44977e89c65)
Change-Id: I54af958932815818a1a4d48364192ba43f1df7de
Reviewed-on: https://gerrit.libreoffice.org/76571
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit f7e051d4848c37bde868e62ac9497461b488f9c6)
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index d3363c3c8976..f335a42f87e4 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -450,6 +450,10 @@ callbackTypeToString (int nType) return "LOK_CALLBACK_SIGNATURE_STATUS"; case LOK_CALLBACK_PROFILE_FRAME: return "LOK_CALLBACK_PROFILE_FRAME"; + case LOK_CALLBACK_CELL_SELECTION_AREA: + return "LOK_CALLBACK_CELL_SELECTION_AREA"; + case LOK_CALLBACK_CELL_AUTO_FILL_AREA: + return "LOK_CALLBACK_CELL_AUTO_FILL_AREA"; } g_assert(false); return nullptr; |