summaryrefslogtreecommitdiff
path: root/include/svx/selectioncontroller.hxx
diff options
context:
space:
mode:
authormerttumer <mert.tumer@collabora.com>2021-04-15 11:25:00 +0300
committerMert Tumer <mert.tumer@collabora.com>2021-05-03 06:51:36 +0200
commit45602eb63bcea8e0fe084690144b6aba45f0a56a (patch)
treeea360a1dbfd0c2f961f1123e39389f09f1af8562 /include/svx/selectioncontroller.hxx
parent3ba86ee82a2d0c2d8cac3c7ee83e2c5f0a3c291e (diff)
Implemented CTRL + A selects all the cells
When the table is selected, ctrl + a should select all the cells unless text editing is enabled. The previous behavior was deselecting the table and marking all the objects. However, for table it should select all the cells instead. Change-Id: I9fb512618a61a96ff21daa74c5a4ae9b31e3906e Signed-off-by: merttumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114129 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114644 Tested-by: Jenkins
Diffstat (limited to 'include/svx/selectioncontroller.hxx')
-rw-r--r--include/svx/selectioncontroller.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/selectioncontroller.hxx b/include/svx/selectioncontroller.hxx
index c9e12c322a5d..57dec07b9fd6 100644
--- a/include/svx/selectioncontroller.hxx
+++ b/include/svx/selectioncontroller.hxx
@@ -49,6 +49,8 @@ public:
virtual void onSelectionHasChanged();
+ virtual void onSelectAll();
+
virtual void GetState( SfxItemSet& rSet );
virtual void Execute( SfxRequest& rReq );