[错误解决] Libreoffice转换不成功,直接不做任何操作

问题描述:
Libreoffice在版本5.3.0之前都存在这个问题。现象是:当你运行其中一个LibreOffice的时候,再运行另外一个Libreoffice转换时,将不做任何操作。

解决方案:
如果你的Libreoffice的版本在4.5之前,运行:

soffice -env:UserInstallation=file:///$HOME/.libreoffice-headless/ \
--headless --convert-to pdf test.docx

如果你的Libreoffice的版本在4.5~5.3之间,运行:

soffice -env:UserInstallation=file:///$HOME/.libreoffice-headless/ \
--convert-to pdf test.docx

参考链接:
https://stackoverflow.com/questions/22062973/libreoffice-convert-to-not-working/43907693#43907693

posted @ 2019-08-19 15:46  bingo彬哥  阅读(3172)  评论(0编辑  收藏  举报
本站总访问量