[Libreoffice-bugs] [Bug 128673] infilter Parameter does not use entered encoding (CP850)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 12 15:43:20 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128673

--- Comment #9 from osnola <alonso at loria.fr> ---
Created attachment 155755
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155755&action=edit
proposition of patch to retrieve filter option in the command line

On OSX, the behaviour also depends if the LibreOffice's application is launched
or not. In the first case, a dialog is opened to let the user choose the
encoding; if not, it lets libwps choose the encoding.

So a proposition of patch to check if we find some FILTEROPTIONS properties:
- if yes, we use that property as encoding, 
- if not, we revert to the previous behaviour (with the difference that if the
dialog can not be created, we ask libwps to use the encoding proposed in the
dialog).

Note:
- I also modified writerperfect/source/calc/MSWorksCalcImportFilter.cxx which
has basically the same behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191112/4dc7c9a0/attachment.html>


More information about the Libreoffice-bugs mailing list