loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h | 27 ++++++++++- 1 file changed, 25 insertions(+), 2 deletions(-)
New commits: commit 11f0554a4d072f6a33cb6deada34da6f608913b0 Author: Mihai Varga <mihai.va...@collabora.com> Date: Thu Oct 8 16:49:03 2015 +0300 loolwsd: update the bundled headers diff --git a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h index dc3e0f9..b87f69a 100644 --- a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -156,8 +156,31 @@ typedef enum * Payload is a single 0-based integer. */ LOK_CALLBACK_SET_PART, - /// Number of search results, in case something is found. - LOK_CALLBACK_SEARCH_RESULT_COUNT + + /** + * Number of search results followed by the original searched phrase. + * count;phrase + */ + LOK_CALLBACK_SEARCH_RESULT_COUNT, + + /** + * Selection rectangles of the search result when find all is performed. + * + * Payload format example, in case of two matches: + * + * { + * "searchString": "...", + * "searchResultSelection": [ + * "...", + * "..." + * ] + * } + * + * - searchString is the search query + * - searchResultSelection is an array of rectangle list, in + * LOK_CALLBACK_TEXT_SELECTION format. + */ + LOK_CALLBACK_SEARCH_RESULT_SELECTION } LibreOfficeKitCallbackType; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits