在Ubuntu系统中,使用LibreOffice导出PDF文档的步骤如下:
sudo apt install libreoffice
并按回车键进行安装。libreoffice --headless --convert-to pdf input_file.docx --outdir output_directory
其中,input_file.docx
是要转换的文档文件名,output_directory
是转换后PDF文件的输出目录。
/usr/share/fonts
目录中。通过以上步骤,您可以在Ubuntu系统中使用LibreOffice成功导出PDF文档。