[Gambas-user] ?anyone have rich text to html code for gambas
richard terry
rterry at ...1823...
Fri Nov 25 04:53:52 CET 2016
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
More information about the User
mailing list