https://bugs.freedesktop.org/show_bug.cgi?id=40186
Roman Eisele <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Command-line conversion |Command-line conversion |from HTML produces HTML, |from HTML produces HTML, |not RTF, DOC, etc. |not RTF, DOC, etc., if | |output filter name is not | |specified explicitely --- Comment #8 from Roman Eisele <[email protected]> 2012-08-16 16:19:40 UTC --- Well, it DOES work with LibreOffice 3.6 if I specify the filter to use: "LibreOffice.app/Contents/MacOS/soffice.bin" --headless --nofirststartwizard --invisible --convert-to 'rtf:Rich Text Format' --outdir /Users/username/result '/Users/username/testfile.html' (NB that 'rtf:Rich Text Format' seems necessary; rtf:Rich_Text_Format with underscores, and WITHOUT quotation marks, does not work). The same is true for other target file formats; e.g., ... --convert-to 'doc:MS Word 97' ... works, but ... --convert-to doc ... does not work: the generated file has the extension .doc, but contains still HTML data, so the generated file is invalid. But I still don’t understand why the short version used by the original reporter: --convert-to rtf does not work; according to http://help.libreoffice.org/Common/Starting_the_Software_With_Parameters which gives the example --convert-to pdf I would expect that it is not necessary to specify the filter explicitely. Therefore adjusted the Summary: the problem is that the output filter name is required, while the documentation says it is optional. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
