Use LibreOffice / OpenOffice to convert docx to pdf

会有一股神秘感。 提交于 2019-12-11 14:52:57

问题


i want to use LibreOffice / OpenOffice commande line to convert docx file to pdf file, but i'm struggling to use these tool, Is there anyone who knows how to use LibreOffice / OpenOffice commande line ?.

Please, If there's any suggestion, do not hesitate.

Thank You !


回答1:


This may work.

soffice --convert-to pdf some.docx --headless

(I've only tried it with .odt files myself, but fingers crossed.)



来源:https://stackoverflow.com/questions/55709687/use-libreoffice-openoffice-to-convert-docx-to-pdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!