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

            Bug ID: 105432
           Summary: libvisio: cannot define default language for imported
                    document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:visio
          Severity: enhancement
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 130543
  --> https://bugs.documentfoundation.org/attachment.cgi?id=130543&action=edit
Visio doc where Russian text is imported as garbage

Currently there's no way to define default language used in libvisio on
importing files when an object does not define a codepage in file.

Then in libvisio::VSDContentCollector::appendCharacters(), default clause sets
hardcoded value "windows-1252".

Can a way be added to libvisio (ant maybe other DLPs) to specify default
language on init (e.g. in
writerperfect::detail::ImportFilterImpl<Generator>::filter() as an (optional?)
argument? Then it would be possible to use LO's default document language for
that purpose (and thus it would be user-controllable), like is currently done
for e.g. DXF.

The attachment is an VSD document which contents is in Russian, but isn't
detected as such, and is imported as garbage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to