JODConverter automates conversions that are actually performed by OpenOffice.org. This means that if you can convert from format ABC to format XYZ from OpenOffice.org (by opening ABC and saving/exporting to XYZ) then you can do the same with JODConverter. You just have to discover the magic string used by OpenOffice.org as the export filter name. A useful list can be found in the OpenOffice.org Wiki.
That said, JODConverter maintains a registry of the most common formats, their associated file extensions, mime types, and OpenOffice.org filter names to simplify your life. These predefined conversions are shown in the following table:
From (any of) | To (any of) |
Text Formats | |
OpenDocument Text (*.odt) OpenOffice.org 1.0 Text (*.sxw) Rich Text Format (*.rtf) Microsoft Word (*.doc) WordPerfect (*.wpd) Plain Text (*.txt) HTML1 (*.html) | Portable Document Format (*.pdf) OpenDocument Text (*.odt) OpenOffice.org 1.0 Text (*.sxw) Rich Text Format (*.rtf) Microsoft Word (*.doc) Plain Text (*.txt) HTML2 (*.html) MediaWiki wikitext (*.wiki) |
Spreadsheet Formats | |
OpenDocument Spreadsheet (*.ods) OpenOffice.org 1.0 Spreadsheet (*.sxc) Microsoft Excel (*.xls) Comma-Separated Values (*.csv) Tab-Separated Values (*.tsv) | Portable Document Format (*.pdf) OpenDocument Spreadsheet (*.ods) OpenOffice.org 1.0 Spreadsheet (*.sxc) Microsoft Excel (*.xls) Comma-Separated Values (*.csv) Tab-Separated Values (*.tsv) HTML2 (*.html) |
Presentation Formats | |
OpenDocument Presentation (*.odp) OpenOffice.org 1.0 Presentation (*.sxi) Microsoft PowerPoint (*.ppt) | Portable Document Format (*.pdf) Macromedia Flash (*.swf) OpenDocument Presentation (*.odp) OpenOffice.org 1.0 Presentation (*.sxi) Microsoft PowerPoint (*.ppt) HTML2 (*.html) |
Drawing Formats | |
OpenDocument Drawing (*.odg) | Scalable Vector Graphics (*.svg) Macromedia Flash (*.swf) |
1 HTML can be used as an input format but you should not expect OpenOffice.org to properly render complex web pages as Firefox or IE7 do. Works reasonably well for simple and “printer friendly” web pages only.
2 HTML can be used as an output format but while all other formats always generate a single output file, HTML can produce multiple files. In addition to the HTML file in fact, any images contained in the input document will also be saved in the same directory. This requires extra care in your code, especially in a web environment.