summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-03-23 21:27:18 +0100
committerJan Holesovsky <kendy@collabora.com>2017-03-24 19:01:53 +0100
commit5fefac660ae5d978843fd7abbc6db1fce0800566 (patch)
tree206f056a85470765a643458476ac7bf01d133253 /include/LibreOfficeKit
parent125ca372c1d0821139b4c682a02494294b322473 (diff)
lok: Allow setting of the language during load.
Change-Id: I9dbb62950e639376c26122ceb9fcec2982b3ca82
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index d68a425f05bd..47da169f5ce5 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -477,6 +477,9 @@ public:
*
* @param pUrl the URL of the document to load
* @param pFilterOptions options for the import filter, e.g. SkipImages.
+ * Another useful FilterOption is "Language=...". It is consumed
+ * by the documentLoad() itself, and when provided, LibreOfficeKit
+ * switches the language accordingly first.
* @since pFilterOptions argument added in LibreOffice 5.0
*/
Document* documentLoad(const char* pUrl, const char* pFilterOptions = NULL)