[Libreoffice-commits] core.git: android/Bootstrap

Ximeng Zu uznomis at yahoo.com
Wed Jun 28 21:44:31 UTC 2017


 android/Bootstrap/src/org/libreoffice/kit/Document.java |   21 ++++++++++++++++
 1 file changed, 21 insertions(+)

New commits:
commit c746468607d020be10366f2ad2df6dddf947c656
Author: Ximeng Zu <uznomis at yahoo.com>
Date:   Wed Jun 28 15:52:10 2017 -0500

    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 at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java
index cd8297c21978..de92cd731eae 100644
--- a/android/Bootstrap/src/org/libreoffice/kit/Document.java
+++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java
@@ -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


More information about the Libreoffice-commits mailing list