From ad280b67f8fda8f832a6a83bc5665df448c6ad00 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 14 Oct 2015 15:39:07 +0200 Subject: LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payload Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c --- include/LibreOfficeKit/LibreOfficeKitEnums.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'include') 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 } -- cgit