summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-14 15:39:07 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-14 15:39:07 +0200
commitad280b67f8fda8f832a6a83bc5665df448c6ad00 (patch)
treee029285dafeba4276bb66c224ecc734b54367a97 /include/LibreOfficeKit
parentdd1fc2242a64a0b9ae8031a5edc7ecfcde4ec3df (diff)
LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payload
Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitEnums.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 0da87699b1b5..459da5d196f4 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -165,14 +165,20 @@ typedef enum
* {
* "searchString": "...",
* "searchResultSelection": [
- * "...",
- * "..."
+ * {
+ * "part": "...",
+ * "rectangles": "..."
+ * },
+ * {
+ * "part": "...",
+ * "rectangles": "..."
+ * }
* ]
* }
*
* - searchString is the search query
- * - searchResultSelection is an array of rectangle list, in
- * LOK_CALLBACK_TEXT_SELECTION format.
+ * - searchResultSelection is an array of part-number and rectangle list
+ * pairs, in LOK_CALLBACK_SET_PART / LOK_CALLBACK_TEXT_SELECTION format.
*/
LOK_CALLBACK_SEARCH_RESULT_SELECTION
}