soffice --headless --convert-to pdf myfile.pptx --outdir mypdf/
this command opens the file myfile.pptx and does not convert anything to pdf; could you please suggest a working solution?
Convert PPTX to PDF, headless operation
Convert PPTX to PDF, headless operation
Last edited by MrProgrammer on Wed Sep 03, 2025 3:41 pm, edited 1 time in total.
Reason: Edited topic's subject
Reason: Edited topic's subject
openoffice4 aws
- Hagar Delest
- Moderator
- Posts: 33440
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Headless operation
Hi and welcome to the forum!
.pptx support is quite poor, do you really want to do that?
Have you checked the results on some files?
.pptx support is quite poor, do you really want to do that?
Have you checked the results on some files?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
Re: Headless operation
Yea it have other parts of workflow generating a pptx. 
Checked on a few files, same issue.

Checked on a few files, same issue.
openoffice4 aws
Re: Headless operation
Try instead setting up a PDF pseudo printer and printing to that to generate a PDF file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
- Hagar Delest
- Moderator
- Posts: 33440
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Headless operation
I mean: is the quality of the .pptx export in PDF with AOO good enough for you?
Because if the result is too bad, then there is no point. And you'll need something else.
LibreOffice might be better but still quite far from the PowerPoint rendering.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.