diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-03-23 21:27:18 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-03-24 19:01:53 +0100 |
commit | 5fefac660ae5d978843fd7abbc6db1fce0800566 (patch) | |
tree | 206f056a85470765a643458476ac7bf01d133253 /include/LibreOfficeKit | |
parent | 125ca372c1d0821139b4c682a02494294b322473 (diff) |
lok: Allow setting of the language during load.
Change-Id: I9dbb62950e639376c26122ceb9fcec2982b3ca82
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 3 |
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) |