odt's to image-embedded html's

Nazarii nazariy.ritter at gmail.com
Sun Jun 17 15:51:49 UTC 2018


Seems I have found a solution: ff to start an instance of LO, conversion 
works fine.


17.06.18 16:12, Nazarii пише:
>
> Hi Mike,
>
> /libreoffice6.0 --writer "$f"/opens an .odt file. When it closed, 
> /soffice --convert-to html:HTML:EmbedImages "$f"/ throws me an error 
> (have checked with a single file).
>
>
> 17.06.18 15:00, Kaganski Mike пише:
>> Hi Nazarii,
>>
>> 17 Июн 2018 г. 17:11 пользователь Nazarii <nazariy.ritter at gmail.com> 
>> написал:
>>
>>     Hello everybody,
>>
>>     Sorry for disturbing you but I'm in need of some help (was trying
>>     to Google but without much success).
>>
>>     Given:
>>
>>       * Lubuntu 18.04
>>       * LO 6.0
>>
>>     I have a bunch of odt files (in one folder). I need to convert
>>     all of them to html files with embedded images. I was trying to
>>     use a code like the following:
>>
>>     /for f in *.odt; do echo "Processing $f"; libreoffice6.0 --writer
>>     "$f"; soffice --convert-to html:HTML:EmbedImages "$f"; done/
>>
>>
>> What the /libreoffice6.0 --writer "$f"/is about? Doesn't it work 
>> without it?
>>
>>     but without success. Maybe somebody of you can help me to figure
>>     out how to write an appropriate code?
>>
>>     Thank you in advance!
>>
>>
>>
>> -- 
>> Best regards, Mike Kaganski.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180617/66e22af9/attachment.html>


More information about the LibreOffice mailing list