diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-19 09:09:19 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-19 08:10:35 +0000 |
commit | df784ec1bf3d1745a291056df28bec799d4fdee3 (patch) | |
tree | b6cdb85786db0798da23e1970bb0866b2c98092b /include/LibreOfficeKit/LibreOfficeKitGtk.h | |
parent | a7e23e7f7b5489da2441adf5b8afbee507709821 (diff) |
tdf#99314 lokdocview: add new userprofileurl property
So that users of the widget can use a custom user profile, allowing
running widgets users and LibreOffice in parallel.
Change-Id: I1bd0a8e53aa3216adc721052cf30f0dd174327bd
Reviewed-on: https://gerrit.libreoffice.org/24237
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitGtk.h')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 5e24eb9c5187..8a64bffd5844 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -55,6 +55,23 @@ GtkWidget* lok_doc_view_new (const gchar* GError **error); /** + * lok_doc_view_new_from_user_profile: + * @pPath: (nullable): LibreOffice install path. Pass null to set it to default + * path which in most cases would be $libdir/libreoffice/program + * @pUserProfile: (nullable): User profile URL. Pass non-null to be able to + * use this widget and LibreOffice itself in parallel. + * @cancellable: The cancellable object that you can use to cancel this + * operation. + * @error: The error that will be set if the object fails to initialize. + * + * Returns: (transfer none): The #LOKDocView widget instance. + */ +GtkWidget* lok_doc_view_new_from_user_profile (const gchar* pPath, + const gchar* pUserProfile, + GCancellable *cancellable, + GError **error); + +/** * lok_doc_view_new_from_widget: * @pDocView: The #LOKDocView instance * |