Ask Your Question
0

PPTX to PDF conversion issue

asked 2018-05-30 12:59:33 +0200

ahowlade gravatar image

I was trying to convert a PPTX to PDF using the libreoffice5.3 command. The command I used is as follows:

libreoffice5.3 --headless --convert-to pdf --outdir . filename.pptx

The PPTX contains a table with blue border in the first page. The table vanishes from the first page upon conversion. The data in the table can be seen but the table itself is not being shown.

I am not sure why this may be happening. Please provide assistance.

edit retag flag offensive close merge delete

Comments

Does the table show up correctly when filename.pptx is opened in LibreOffice (the GUI)? Or is it only in the resulting PDF that the table is gone? (Trying to guess whether this is a problem with PPTX import or PDF export)

hjek gravatar imagehjek ( 2018-06-02 03:25:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-06-04 15:13:30 +0200

ahowlade gravatar image

We are not using LibreOffice to open the PPTX. We are just using the conversion tool to convert PPTX to PDF as per our project requirement.

This is the command that we are using to convert PPTX to PDF: libreoffice5.3 --headless --convert-to pdf --outdir . filename.pptx

However, when we save the file as .PPT and run the conversion command, the table appears in the converted PDF.

Is this a compatibility issue that LibreOffice faces with PPTX only?

edit flag offensive delete link more

Comments

This is too vague:

when we save the file as .PPT

Are you saving the file in LibreOffice Impress or using another program?

Could you try opening the slide in LibreOffice as I suggested in the previous comment, to narrow down where the problem is? You should try doing this regardless of your "project requirements."

hjek gravatar imagehjek ( 2018-06-04 19:31:30 +0200 )edit

We are saving the file in PPT format using Powerpoint. As per your suggestion, I'm opening the file in LibreOffice and updating you.

ahowlade gravatar imageahowlade ( 2018-06-07 12:29:07 +0200 )edit

Tried opening the slide in LibreOffice Impress. Although the file did open, the table did not show up at all.

ahowlade gravatar imageahowlade ( 2018-06-08 09:14:47 +0200 )edit

Sounds like a bug in LibreOffice PPTX import. You could file a bug.

Anyway, seems like you managed to find a working solution anyway by just using PPT:

However, when we save the file as .PPT and run the conversion command, the table appears in the converted PDF.

hjek gravatar imagehjek ( 2018-06-08 11:35:03 +0200 )edit

We have already filed a bug report. Thanks for the information. :)

ahowlade gravatar imageahowlade ( 2018-06-11 14:47:14 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-30 12:59:33 +0200

Seen: 571 times

Last updated: Jun 04 '18