Is there any tool to convert pdf to ppt/odp slides in Linux/ Ubuntu offline?

I am looking for a tool that converts PDF into PPT files or supports any tweak to import PDF files into LibreOffice-impress, LibreOffice-Draw imports the PDF but that does not do the job. So far I am trying to use a workaround called pdftk+pdfchain to burst the pages of the PDF file into single page PDF files and then converting the single page PDF files into images using ImageMagic and importing them into a PPT slide.


Solution 1:

Here's my take on it from personal experience. It's a two-step process - convert the PDF into single jpegs, then import the jpegs into LibreOffice Impress. It works best if the pages in the PDF are landscape already.

1.) Make sure the package imagemagick is installed (apt install imagemagick). Put your source PDF into a directory. Then in the terminal, navigate to that directory and run:

convert filename.pdf filename.jpg

This will spit out a jpeg of each page in the PDF. Move the PDF out of the directory to make step 2 easier.

2.) Open Impress. Go to Slide menu, Slide Layout -> Blank. This will remove the "Click to add title" and stuff. Then go to Insert -> Media -> Photo Album. Click add. Navigate to the directory with all your jpegs. Select all the jpegs (if you removed the PDF from the directory in step 1, just press CTRL + A to select all of them). Click Open. The next options depend on what the pages in the original PDF looked like - if they were landscape, you can probably choose Fill Screen, but you'll have to see what works best for your case.