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?
[Dropped] Convert PPTX to PDF, headless operation
[Dropped] Convert PPTX to PDF, headless operation
Last edited by MrProgrammer on Tue Sep 23, 2025 4:50 pm, edited 2 times in total.
Reason: Dropped: No reply from st22
Reason: Dropped: No reply from st22
openoffice4 aws
- Hagar Delest
- Moderator
- Posts: 33482
- 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: 33482
- 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.
Re: Convert PPTX to PDF, headless operation
does the export work if you open the pptx in AO and then export through the UI? With acceptable quality?
Re: Headless operation
Co-admin french forum branch