diff options
author | Siqi Liu <me@siqi.fr> | 2015-04-13 16:22:49 +0200 |
---|---|---|
committer | Siqi Liu <me@siqi.fr> | 2015-04-13 16:22:49 +0200 |
commit | cc54da22377feef44e1aa48a92d9b4c86eda7577 (patch) | |
tree | 0a9406b68b1d1cf496e4730acf5ac6c6982b6811 /android/Bootstrap | |
parent | b3f42066e705c0bb313a4e36f0fb617fc1818c0d (diff) |
java part handles received statechange callback
Diffstat (limited to 'android/Bootstrap')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/kit/Document.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java index 5d97656879cf..6c0ee547ba4a 100644 --- a/android/Bootstrap/src/org/libreoffice/kit/Document.java +++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java @@ -31,6 +31,15 @@ public class Document { public static final int MOUSE_BUTTON_UP = 1; public static final int MOUSE_MOVE = 2; + + /** + * State change types + */ + public static final int BOLD = 0; + public static final int ITALIC = 1; + public static final int UNDERLINE = 2; + public static final int STRIKEOUT = 3; + /** * Callback message types */ @@ -42,6 +51,7 @@ public class Document { public static final int CALLBACK_CURSOR_VISIBLE = 5; public static final int CALLBACK_GRAPHIC_SELECTION = 6; public static final int CALLBACK_HYPERLINK_CLICKED = 7; + public static final int CALLBACK_STATE_CHANGED = 8; /** * Set text selection types |