summaryrefslogtreecommitdiffstats
path: root/libreofficekit/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-08-14 18:08:18 +0900
committerTomaž Vajngerl <quikee@gmail.com>2019-08-15 04:49:33 +0200
commit43cce4ef2cf865b2bb637e17b70102a4260295b0 (patch)
treea78861b32737ea70d756a51160efddb84b810b38 /libreofficekit/source
parentResolves: tdf#126931 fix Sorbian date formats and add genitive month names (diff)
downloadcore-43cce4ef2cf865b2bb637e17b70102a4260295b0.tar.gz
core-43cce4ef2cf865b2bb637e17b70102a4260295b0.zip
tdf#122529 lok - table border position manipulation
This adds a new LOK callback (LOK_CALLBACK_TABLE_SELECTED) that sends the border positions to the client when the user has the cursor or slelection in a table. In addition this adds a .uno:TableChangeCurrentBorderPosition uno command, which implements changing a specific border in the current table. Border can be either a column or a row border, which is either at the first, middle or last position. Change-Id: Ife7cff14d91ffc84c95c040f0b42319e3d6194b4 Reviewed-on: https://gerrit.libreoffice.org/77365 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index aedff8870a28..b55ebc9af46f 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -457,6 +457,8 @@ callbackTypeToString (int nType)
return "LOK_CALLBACK_CELL_SELECTION_AREA";
case LOK_CALLBACK_CELL_AUTO_FILL_AREA:
return "LOK_CALLBACK_CELL_AUTO_FILL_AREA";
+ case LOK_CALLBACK_TABLE_SELECTED:
+ return "LOK_CALLBACK_TABLE_SELECTED";
}
g_assert(false);
return nullptr;