https://bugs.freedesktop.org/show_bug.cgi?id=40186

Maxim Monastirsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Maxim Monastirsky <[email protected]> ---
The reason for this bug seems quite simple. HTML files are opened in Writer/Web
by default [1], but the RTF filter is registered with the Writer
DocumentService [2], so when searching for a filter for Writer/Web it couldn't
be found. And indeed, when changing the DocumentService of the filter entry, or
forcing to search a filter for Writer's DocService, it gets the right filter
and outputs RTF. So it should be easy to hack this to search also for a Writer
filter, when no filter found for Writer/Web. But I wonder whether this still
need fixing, givan that since 9df3a83c304f3dd0e0233d234dc6036ab5eefb77 there is
an easy workaround (adding --writer to the command). Any thoughts?

[1]
http://opengrok.libreoffice.org/xref/core/filter/source/textfilterdetect/filterdetect.cxx#140
[2]
http://opengrok.libreoffice.org/xref/core/filter/source/config/fragments/filters/Rich_Text_Format.xcu#29

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

Reply via email to