Re: [Gambas-user] ?anyone have rich text to html code for gambas
Brought to you by:
gambas
|
From: richard t. <rt...@in...> - 2016-11-25 03:54:03
|
On 25/11/16 10:14, Benoît Minisini wrote: > Le 24/11/2016 à 22:59, richard terry a écrit : >> Hi List, >> >> I've just encountered a situation in my medical software where the >> pathology lab has suddently started sending me histopathology reports in >> RTF format instead of plain text markup, which is of course unreadable. >> >> >> I wondered if anyone had any code to convert rich text to html or any ideas? >> >> >> Thanks >> >> >> richard >> > I think now libreoffice can convert RTF to any of its format from the > command-line, if it helps. > Thanks Benoit, quite useful, this code does it, either to a pdf or html soffice --headless --convert-to html my_file.rtf soffice --headless --convert-to pdf my_file.rtf |