summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKitEnums.h
diff options
context:
space:
mode:
authorSiqi Liu <me@siqi.fr>2015-04-13 16:23:32 +0200
committerSiqi Liu <me@siqi.fr>2015-04-13 16:23:32 +0200
commit0632f77ee8059f2d65ad72bf148da88901732dc2 (patch)
tree8717d2ebfc7af6b91499ec2c94792661122317bc /include/LibreOfficeKit/LibreOfficeKitEnums.h
parentcc54da22377feef44e1aa48a92d9b4c86eda7577 (diff)
LOK_STATE_CHANGED callback implemented with sfx events interception.
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitEnums.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitEnums.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index e8d2b59dec45..d4d1b4c4fc3b 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -102,7 +102,14 @@ typedef enum
* User clicked on an hyperlink that should be handled by other
* applications accordingly.
*/
- LOK_CALLBACK_HYPERLINK_CLICKED
+ LOK_CALLBACK_HYPERLINK_CLICKED,
+
+ /**
+ * Emit state update to the client.
+ * For example, when cursor is on bold text, this callback is triggered
+ * with payload: ".uno:Bold=true"
+ */
+ LOK_CALLBACK_STATE_CHANGED
}
LibreOfficeKitCallbackType;