Converting keynote file to pdf using convert command. Background themes of keynotes are not converting into pdf

commands used

sudo soffice --headless --convert-to pdf --outdir “’.destination dir.’” “‘path.’”’

version used is Libreoffice 5.3.1.2

Could you provide a sample to test?

Hi I am unable to upload any samples it says ‘>3 points required to upload files’

Well, you could use a file sharing service and post a link here. However, I upped your karma.

edit: cannot increase it, because you made your question “wiki” for unclear reason.

ok. I am attaching a sample file which I used for testing. Here the problem I am facing is, the brown background color you are seeing in the keynote file is not getting converted. After converting to pdf, everything is fine except this background. And this issue is happening if there is a transparency or opacity in the background

here is the link:- 404 File Not Found - Jumpshare

Hm. Actually, I don’t see the brown background. I see brown text on first slide, but all 10 slides are white pages with text, no background.

Could it be an image linked to the file, that’s absent on my system? I remember seeing something about external references that aren’t processed when doing conversion using command line.

Oh ok. This is already built in template from keynote. I didn’t add any background color manually. And few templates with background color black is converting properly. I am not sure what is the issue here.

And converting ppt/pptx to pdf with any background is coming fine. Problem observed only in keynotes

I tried to convert it to PDF using Zamzar, and it did show what I suppose you expect there to be:

so the image must be inside. However, LO import shows only text without background (also, font is different, but that could be absence of the font on my system):

So, I suppose it to be LO import limitation, that is known to be a basic one (see Release notes for 4.2 and 5.0 for some information).

What puzzles me is that you say about problem being with command-line conversion. Did you check if LO imports your file at all with LO UI itself, before using a command line to convert?

Hi Mike,

Sorry for the late reply. Yeah I tried opening this file (sample4.key) in LO than command line. The brown background themes are not at all displaying. Only white background with the text. Is there any default options for setting the color in LO while converting?

There’s no background color in your file; only background image. Your file uses the Keynote format features not supported by LibreOffice at the moment. So LibreOffice is not able to do the task you need; please look for a different solution.

ok. Thanks.

Hey Mike, So this is a limitation of LO for only keynote files or all types of files? Because currently its converting even background templates of ppt and pptx.

For Keynotes. Every importer module has its own set of limitations. So, there may be other formats with similar problems, but definitely it’s not limitation of all types.

Ok. Thanks for helping out. !

Ok. Thanks for helping out. !