Add LOKit Enums to Document.java

Added LOKit callback enums to Document.java.

Change-Id: I46b7b5fe0ceb40a89fd121082706acdf539ff916
Reviewed-on: https://gerrit.libreoffice.org/39375
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Ximeng Zu 2017-06-28 15:52:10 -05:00 committed by Tomaž Vajngerl
parent d72e0cadce
commit c746468607

View File

@ -54,6 +54,8 @@ public class Document {
/**
* Callback message types
* Refer to http://opengrok.libreoffice.org/xref/core/include/LibreOfficeKit/LibreOfficeKitEnums.h
* for more details about each callback.
*/
public static final int CALLBACK_INVALIDATE_TILES = 0;
public static final int CALLBACK_INVALIDATE_VISIBLE_CURSOR = 1;
@ -71,6 +73,25 @@ public class Document {
public static final int CALLBACK_DOCUMENT_SIZE_CHANGED = 13;
public static final int CALLBACK_SET_PART = 14;
public static final int CALLBACK_SEARCH_RESULT_SELECTION = 15;
public static final int LOK_CALLBACK_UNO_COMMAND_RESULT = 16;
public static final int LOK_CALLBACK_CELL_CURSOR = 17;
public static final int LOK_CALLBACK_MOUSE_POINTER = 18;
public static final int LOK_CALLBACK_CELL_FORMULA = 19;
public static final int LOK_CALLBACK_DOCUMENT_PASSWORD = 20;
public static final int LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY = 21;
public static final int LOK_CALLBACK_ERROR = 22;
public static final int LOK_CALLBACK_CONTEXT_MENU = 23;
public static final int LOK_CALLBACK_INVALIDATE_VIEW_CURSOR = 24;
public static final int LOK_CALLBACK_TEXT_VIEW_SELECTION = 25;
public static final int LOK_CALLBACK_CELL_VIEW_CURSOR = 26;
public static final int LOK_CALLBACK_GRAPHIC_VIEW_SELECTION = 27;
public static final int LOK_CALLBACK_VIEW_CURSOR_VISIBLE = 28;
public static final int LOK_CALLBACK_VIEW_LOCK = 29;
public static final int LOK_CALLBACK_REDLINE_TABLE_SIZE_CHANGED = 30;
public static final int LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED = 31;
public static final int LOK_CALLBACK_COMMENT = 32;
public static final int LOK_CALLBACK_INVALIDATE_HEADER = 33;
public static final int LOK_CALLBACK_CELL_ADDRESS = 34;
/**
* Set text selection types