4

I have to find a free, gratis command line solution to convert primary Microsoft PowerPoint presentations into HTML files (1 HTML file per foil) on Linux (Debian, OpenSuse). It would be nice if the solution supports OpenOffice Impress presentations as well but this is not necessary.

What is/are solution/s for this matter?

4

You want to use pptHTML:

http://www.ma.utexas.edu/restricted-resources/utma-doc/xlHtml/pptHtml.txt

For debian based distros: http://packages.debian.org/unstable/utils/ppthtml

The C Source for the xlhtml package: http://prdownloads.sf.net/chicago/xlhtml-0.4.9.3.tgz

ppthtml is an executable installed through the same package.

  • Thanks! xlhtml is the name for OpenSuse, right? – burnersk Jul 26 '12 at 10:30
  • xlhtml is for Excel. While pptHtml is for Ppt files. – darnir Jul 26 '12 at 10:34
  • Awww fail. You're right. But I can't find nighter pptHTML at OpenSuse nor its (non Debian) source code to compile for OpenSuse. – burnersk Jul 26 '12 at 10:36
  • I could find the windows executable for the same. Maybe you could run it on wine? – darnir Jul 26 '12 at 10:43
  • 1
    C Source for xlhtml. It contains the ppthtml executable in the same package. prdownloads.sf.net/chicago/xlhtml-0.4.9.3.tgz – darnir Jul 26 '12 at 10:45
0

jodconverter is what you're looking for.

JODConverter, the Java OpenDocument Converter, converts documents between different office formats. It leverages Apache OpenOffice or LibreOffice, which provide arguably the best free import/export filters for OpenDocument and Microsoft Office formats available today.

JODConverter automates all conversions supported by OpenOffice/LibreOffice. Supported conversions include:

| Document Type | Input Format                    | Output Format                                 |
| ------------- | ------------------------------- | --------------------------------------------- |
| Text          | DOC, DOCX, ODT, OTT, RTF, TEXT  | DOC, DOCX, HTML, ODT, OTT, PDF, PNG, RTF, TXT |
| Spreadsheet   | CSV, ODS, OTS, TSV, XLS, XLSX   | CSV, HTML, ODS, OTS, PDF, PNG, TSV, XLS, XLSX |
| Presentation  | ODP, OTP, PPT, PPTX             | HTML, ODP, OTP, PDF, PNG, PPT, PPTX, SWF      |
| Drawing       | ODG, OTG                        | ODG, OTG, PDF, PNG, SWF                       |
| Other         | HTML                            | DOC, DOCX, HTML, ODT, OTT, PDF, PNG, RTF, TXT |

JODConverter can be used in many different ways:

  • As a Java library, embedded in your own Java application.
  • As a command line tool, possibly invoked from your own scripts.
  • As a simple web application: upload your input document, select the desired format and download the converted version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.