I am trying to convert Excel and PowerPoint documents to a PDF document.
I installed it on my Centos 6 box:
yum -y install libreoffice-headless libreoffice-writer Package 1:libreoffice-headless-220.127.116.11-14.el6.x86_64 already installed and latest version Package 1:libreoffice-writer-18.104.22.168-14.el6.x86_64 already installed and latest version
I then ran the command:
libreoffice --headless -convert-to pdf myfile.xlsx
It gives no warning… Just doesn’t create a new PDF document. I’ve successfully done this before, but I think it was a different server (same operating system, just earlier version). I’ve checked file permissions, but don’t think it is the issue (I’ve tried as a normal user and as root).
I could convert doc, docx, and txt files, but not xls, xlsx, ppt, and pptx files.
Thoughts why? Is there a verbose option or a log file which I could check for clues?