From f9fcc569db6d55212f60ebc35416b7d0ec386ab8 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 26 May 2015 16:58:36 +0200 Subject: sd: fix LOK search result highlight when result is not on the current slide By adding a new callback event, so clients can switch to the correct slide. Change-Id: I6c2388eb11ef97811cc644fe3a9d3866aa82fd75 (cherry picked from commit 67a37be9969d8b5a0bc8ae081bc1aba697ea6ba5) --- include/LibreOfficeKit/LibreOfficeKitEnums.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/LibreOfficeKit') diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index 54862e11772c..9ad7636c5f9a 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -151,7 +151,14 @@ typedef enum * Clients should assume that data returned by an earlier * lok::Document::getDocumentSize() call is no longer valid. */ - LOK_CALLBACK_PAGE_COUNT_CHANGED + LOK_CALLBACK_PAGE_COUNT_CHANGED, + + /** + * The current part number is changed. + * + * Payload is a single 0-based integer. + */ + LOK_CALLBACK_SET_PART } LibreOfficeKitCallbackType; -- cgit