Ask Your Question

Headless Libre Office to PDF Conversion Issues [closed]

asked 2014-09-11 16:20:46 +0200

jakowenko gravatar image

updated 2014-09-11 16:21:50 +0200

I currently have a headless version of libre office installed on my server and using exec commands, covert uploaded pptx files to pdf.

I've noticed that some of the spacing between line breaks and some of the text changes from the pptx file to the pdf file. The command is pretty straight forward, so I'm not sure what could be going wrong.

exec("libreoffice --headless --convert-to pdf test.pptx --outdir ../../../uploads/temp/");

Everything works as excepted in the conversion, but it seems there are formatting issues. I've attached a few screenshots to show you the differences in line heights and how some capitalized text is changed to lowercase.

I can't post images, but here are the screenshots of the issues I'm having, screenshots here

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-03 18:51:54.527062

1 Answer

Sort by » oldest newest most voted

answered 2014-09-13 12:46:26 +0200

oweng gravatar image

updated 2014-09-13 13:01:15 +0200

Thanks for providing the screenshot. In this particular case this does not appear to be a headless-specific problem. The line height issue is possibly bug fdo#51340, the attachments to which which still render problematically under v4.3-v4.4. It may also be bug fdo#59932, if the list items are placed in text boxes. The erroneous capitalisation issue I cannot find a related open bug for.

Please file a bug for this latter issue and provide a basic, clear example file if possible (or at least clear instructions on how to re-create a problematic document). Please post a link to any bugs you file in a comment below using the format "fdo#123456". Thanks.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-09-11 16:20:46 +0200

Seen: 900 times

Last updated: Sep 13 '14