diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-06 12:12:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-09 08:12:12 +0100 |
commit | 1b15f4863e6d4b0a280ccd61713cbb1209ffe33e (patch) | |
tree | 6bf9d6bda69b9d8593fa0d4639f8110a0191b38c /include | |
parent | 17be6dab4a349944448e06a2b71df312899b3351 (diff) |
LOK: add LOK_CALLBACK_TEXT_SELECTION and implement it in sw
Change-Id: I31662cb06add0d1a1c517b5f5416703aeaae1e77
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index 0ee2883b4027..1ef70e513c19 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -57,7 +57,7 @@ typedef enum * Any tiles which are over the rectangle described in the payload are no * longer valid. * - * Rectangle format: "width,height,x,y", where all numbers are document + * Rectangle format: "width, height, x, y", where all numbers are document * coordinates, in twips. */ LOK_CALLBACK_INVALIDATE_TILES, @@ -66,7 +66,16 @@ typedef enum * * Rectangle format is the same as LOK_CALLBACK_INVALIDATE_TILES. */ - LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR + LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR, + /** + * The list of rectangles representing the current text selection changed. + * + * List format is "rectangle1[; rectangle2[; ...]]" (without quotes and + * brackets), where rectangleN has the same format as + * LOK_CALLBACK_INVALIDATE_TILES. When there is no selection, an empty + * string is provided. + */ + LOK_CALLBACK_TEXT_SELECTION } LibreOfficeKitCallbackType; |