Problem Description
When converting PPTX files to PDF using LibreOffice, the output does not match the expected result: text that should appear on a single line is instead wrapped into two lines.
Command used:
soffice --headless --convert-to pdf xxx.pptx
Versions tested:
- LibreOffice 6.4 on Linux
- LibreOffice 25.8.3 on Windows 10
The issue occurs in both environments.
In Microsoft Office and WPS (expected behavior):
In LibreOffice Impress or the generated PDF (actual behavior):
test.pptx (45.8 KB)
Workaround in Impress
Right-click → Paragraph…
Unchecking this option restores the correct one-line text layout:
What I Am Looking For
A way to achieve the same effect without manually changing this setting in Impress — ideally through command-line options or other automated methods, so that multiple files can be batch-converted with output consistent with Microsoft Office and WPS.
References
I found two related discussions, but neither provides a working solution:



