summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKitGtk.h
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.com>2016-06-21 00:15:38 +0530
committerPranav Kant <pranavk@collabora.com>2016-06-21 14:35:59 +0530
commit90c75f775b6d1ca68389782a3768ee554b528e5d (patch)
tree2b5d59c8def159996243931e97a4415bd34dee7e /include/LibreOfficeKit/LibreOfficeKitGtk.h
parent1811e656f08ba011a3c2a51cc60e90d2fa58e4c2 (diff)
lok: Expose LO version information
Change-Id: Ided924e928c04385457c7a2e231fdf57e7e38970
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitGtk.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index a0082be72e27..4b4284e423fc 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -316,6 +316,19 @@ void lok_doc_view_set_document_password (LOKDocView*
const gchar* pPassword);
/**
+ * lok_doc_view_get_version_info:
+ * @pDocView: The #LOKDocView instance
+ *
+ * Get version information of underlying LOKit process
+ *
+ * Returns: string containing version information in format
+ * PRODUCT_NAME PRODUCT_VERSION PRODUCT_EXTENSION BUILD_ID
+ *
+ * Eg: LibreOffice 5.3 .0.0.alpha0 <commit hash>
+ */
+gchar* lok_doc_view_get_version_info (LOKDocView* pDocView);
+
+/**
* lok_doc_view_pixel_to_twip:
* @pDocView: The #LOKDocView instance
* @fInput: The value in pixels to convert to twips