summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-05 11:32:14 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-09 10:16:14 +0100
commit233fdd99f27ccdb1e31561b4093c68007549a5b5 (patch)
treeb33bd64a3d9a51062186617e4395e74fddc5d3b1 /include/LibreOfficeKit
parent6d0d10364e8a4783aa94e29c0e6e12779f31fffe (diff)
LOK: add LOK_CALLBACK_GRAPHIC_SELECTION API and implement it in svx
Change-Id: I4dbee4048f52f480efef4454d3714862e4ddcf4b
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitEnums.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index aed96d64a7c5..1cb3da46cc44 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -43,7 +43,8 @@ typedef enum
* longer valid.
*
* Rectangle format: "width, height, x, y", where all numbers are document
- * coordinates, in twips.
+ * coordinates, in twips. When all tiles are supposed to be dropped, the
+ * format is the "EMPTY" string.
*/
LOK_CALLBACK_INVALIDATE_TILES,
/**
@@ -87,7 +88,13 @@ typedef enum
* LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR once it becomes true. Payload is
* either the "true" or the "false" string.
*/
- LOK_CALLBACK_CURSOR_VISIBLE
+ LOK_CALLBACK_CURSOR_VISIBLE,
+ /**
+ * The size and/or the position of the graphic selection changed.
+ *
+ * Rectangle format is the same as LOK_CALLBACK_INVALIDATE_TILES.
+ */
+ LOK_CALLBACK_GRAPHIC_SELECTION
}
LibreOfficeKitCallbackType;