libreoffice 在带有 table 边缘的命令行中将 xlsx 转换为 pdf

libreoffice Convert xlsx to pdf in command line with edge of the table

我需要将 xlsx 文件转换为 pdf,但是当我使用以下命令执行此操作时:

libreoffice --headless --convert-to pdf:calc_pdf_Export --outdir . test.xlsx

test.pdf 文件导出良好,但table 没有打印单元格边缘。 我如何让导出在生成的 pdf 上打印 table 单元格的边缘?

根据我的经验,唯一的方法是直接在文件 .xlsx.

中注释单元格的边缘

当你这样做时,结果打印得很好。

此功能没有命令行。