Ask Your Question
0

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

asked 2017-03-24 08:26:16 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

commands used

sudo soffice --headless --convert-to pdf --outdir "'.destination dir.'" "'path.'"'

version used is Libreoffice 5.3.1.2

edit retag flag offensive close merge delete

Comments

Could you provide a sample to test?

Mike Kaganski gravatar imageMike Kaganski ( 2017-03-24 09:31:25 +0200 )edit

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

asker12344 gravatar imageasker12344 ( 2017-03-24 10:27:04 +0200 )edit

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.

Mike Kaganski gravatar imageMike Kaganski ( 2017-03-24 10:46:55 +0200 )edit

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:- https://jumpshare.com/v/44RGhqpzqvTxp...

asker12344 gravatar imageasker12344 ( 2017-03-24 11:34:40 +0200 )edit

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.

Mike Kaganski gravatar imageMike Kaganski ( 2017-03-24 11:41:54 +0200 )edit

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.

asker12344 gravatar imageasker12344 ( 2017-03-24 12:05:06 +0200 )edit

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

asker12344 gravatar imageasker12344 ( 2017-03-24 12:07:57 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-03-24 12:22:15 +0200

updated 2017-03-24 12:29:08 +0200

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

image description

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):

image description

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?

edit flag offensive delete link more

Comments

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?

asker12344 gravatar imageasker12344 ( 2017-03-27 13:43:00 +0200 )edit

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.

Mike Kaganski gravatar imageMike Kaganski ( 2017-03-27 13:46:13 +0200 )edit

ok. Thanks.

asker12344 gravatar imageasker12344 ( 2017-03-27 13:57:13 +0200 )edit

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.

asker12344 gravatar imageasker12344 ( 2017-03-29 11:37:46 +0200 )edit

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.

Mike Kaganski gravatar imageMike Kaganski ( 2017-03-29 11:45:54 +0200 )edit

Ok. Thanks for helping out. !

asker12344 gravatar imageasker12344 ( 2017-03-29 14:21:29 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-03-24 08:26:16 +0200

Seen: 677 times

Last updated: Mar 24 '17