Tables with filter names for command line document conversion.
Filter names are used when importing and exporting files in alien formats and converting files formats through the command line.
soffice --convert-to OutputFileExtension[:OutputFilterName[:OutputFilterParams[,param]]] [--outdir output-dir]
If --convert-to is used more than once, last value of OutputFileExtension[:OutputFilterName[:OutputFilterParams]] is effective. If --outdir is used more than once, only its last value is effective. For example:
--convert-to pdf *.doc
--convert-to pdf:writer-pdf-Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
soffice --infilter="InputFilterName[:InputFilterParams[,param]]"
--infilter="Text (encoded):UTF8,LF,Liberation Mono,en-US".
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| HTML Document (Writer) | "HTML (StarWriter)" | text/html (html xhtml htm) |
| Microsoft WinWord 1/2/5 | "MS WinWord 5" | application/msword (doc) |
| Microsoft Word 6.0 | "MS WinWord 6.0" | application/msword (doc) |
| Microsoft Word 95 | "MS Word 95" | application/msword (doc) |
| Microsoft Word 95 Template | "MS Word 95 Vorlage" | application/msword (dot) |
| Word 97–2003 | "MS Word 97" | application/msword (doc wps) |
| Word 97–2003 Template | "MS Word 97 Vorlage" | application/msword (dot wpt) |
| Flat XML ODF Text Document | "OpenDocument Text Flat XML" | application/vnd.oasis.opendocument.text-flat-xml (fodt odt xml) |
| Rich Text | "Rich Text Format" | application/rtf (rtf) |
| OpenOffice.org 1.0 Text Document | "StarOffice XML (Writer)" | application/vnd.sun.xml.writer (sxw) |
| WordPerfect Document | "WordPerfect" | application/vnd.wordperfect (wpd) |
| Microsoft Works Document | "MS-Works" | application/vnd.ms-works (wps) |
| Microsoft Write | "MS-Write" | application/x-mswrite (wri) |
| Microsoft Word for DOS | "DosWord" | None (doc) |
| ClarisWorks/AppleWorks Text Document | "ClarisWorks" | application/clarisworks (cwk) |
| Microsoft Word for Mac (v1 - v5) | "Mac-Word" | application/msword (doc) |
| Microsoft Works for Mac Text Document (v1 - v4) | "Mac-Works" | application/vnd.ms-works (wps) |
| MacWrite Document | "MacWrite" | application/macwriteii (mw mcw) |
| Mariner Write Mac Classic v1.6 - v3.5 | "Mariner-Write" | (mwd) |
| WriteNow Document | "WriteNow" | (wn nx^d) |
| AbiWord Document | "AbiWord" | application/x-abiword (abw zabw) |
| T602 Document | "T602Document" | application/x-t602 (602) |
| Lotus WordPro Document | "LotusWordPro" | application/vnd.lotus-wordpro (lwp) |
| Text | "Text" | text/plain (csv tsv tab txt) |
| Text - Choose Encoding | "Text (encoded)" | text/plain (csv tsv tab txt) |
| Hangul WP 97 | "writer-MIZI-Hwp-97" | application/x-hwp (hwp) |
| OpenOffice.org 1.0 Text Document Template | "writer-StarOffice-XML-Writer-Template" | application/vnd.sun.xml.writer.template (stw) |
| PDF - Portable Document Format | "writer-pdf-Export" | application/pdf (pdf) |
| ODF Text Document | "writer8" | application/vnd.oasis.opendocument.text (odt) |
| ODF Text Document Template | "writer8-template" | application/vnd.oasis.opendocument.text-template (ott) |
| Word 2007–365 | "MS Word 2007 XML" | application/msword (docx) |
| Word 2007–365 Template | "MS Word 2007 XML Template" | application/msword (dotx dotm) |
| Word 2007–365 VBA | "MS Word 2007 XML VBA" | application/msword (docm) |
| Office Open XML Text (Transitional) | "Office Open XML Text" | application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx docm) |
| Office Open XML Text Template (Transitional) | "Office Open XML Text Template" | application/vnd.openxmlformats-officedocument.wordprocessingml.template (dotx dotm) |
| Writer Layout XML | "writer-layout-dump" | None (xml) |
| Writer Indexing Export XML | "writer-indexing-export" | None (xml) |
| BroadBand eBook | "BroadBand eBook" | application/x-sony-bbeb (lrf) |
| FictionBook 2.0 | "FictionBook 2" | application/x-fictionbook+xml (fb2 zip) |
| PalmDoc eBook | "PalmDoc" | application/x-aportisdoc (pdb) |
| Plucker eBook | "Plucker eBook" | application/prs.plucker (pdb) |
| Apple Pages | "Apple Pages" | application/x-iwork-pages-sffpages (pages) |
| Legacy Mac Text Document | "MWAW-Text-Document" | None (*) |
| Palm Text Document | "Palm-Text-Document" | application/vnd.palm (pdb) |
| Legacy StarOffice Text Document | "StarOffice-Writer" | None (sdw) |
| EPUB Document | "EPUB" | application/epub+zip (epub) |
| Pocket Word | "PocketWord File" | application/x-pocket-word (psw) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| Data Interchange Format | "DIF" | None (dif) |
| HTML Document (Calc) | "HTML (StarCalc)" | text/html (html xhtml htm) |
| Flat XML ODF Spreadsheet | "OpenDocument Spreadsheet Flat XML" | application/vnd.oasis.opendocument.spreadsheet-flat-xml (fods ods xml) |
| Lotus 1-2-3 | "Lotus" | application/vnd.lotus-1-2-3 (wk1 wks 123) |
| Quattro Pro 6.0 | "Quattro Pro 6.0" | None (wb2) |
| Microsoft Excel 4.0 | "MS Excel 4.0" | application/vnd.ms-excel (xls xlw xlc xlm) |
| Microsoft Excel 4.0 Template | "MS Excel 4.0 Vorlage/Template" | application/vnd.ms-excel (xlt) |
| Microsoft Excel 5.0 | "MS Excel 5.0/95" | application/vnd.ms-excel (xls xlc xlm xlw) |
| Microsoft Excel 5.0 Template | "MS Excel 5.0/95 Vorlage/Template" | application/vnd.ms-excel (xlt) |
| Microsoft Excel 95 | "MS Excel 95" | application/vnd.ms-excel (xls xlc xlm xlw) |
| Microsoft Excel 95 Template | "MS Excel 95 Vorlage/Template" | application/vnd.ms-excel (xlt) |
| Excel 97–2003 | "MS Excel 97" | application/vnd.ms-excel (xls xlc xlm xlw xlk et) |
| Excel 97–2003 Template | "MS Excel 97 Vorlage/Template" | application/vnd.ms-excel (xlt ett) |
| Rich Text Format (Calc) | "Rich Text Format (StarCalc)" | application/rtf (rtf) |
| SYLK | "SYLK" | text/spreadsheet (slk sylk) |
| OpenOffice.org 1.0 Spreadsheet | "StarOffice XML (Calc)" | application/vnd.sun.xml.calc (sxc) |
| Text CSV | "Text - txt - csv (StarCalc)" | text/plain (csv tsv tab txt) |
| Web Page Query (Calc) | "calc-HTML-WebQuery" | text/html (html xhtml htm) |
| OpenOffice.org 1.0 Spreadsheet Template | "calc-StarOffice-XML-Calc-Template" | application/vnd.sun.xml.calc.template (stc) |
| PDF - Portable Document Format | "calc-pdf-Export" | application/pdf (pdf) |
| dBASE | "dBase" | None (dbf) |
| ODF Spreadsheet | "calc8" | application/vnd.oasis.opendocument.spreadsheet (ods) |
| ODF Spreadsheet Template | "calc8-template" | application/vnd.oasis.opendocument.spreadsheet-template (ots) |
| Gnumeric Spreadsheet | "Gnumeric Spreadsheet" | application/x-gnumeric (gnumeric gnm) |
| Excel 2007–365 | "Calc MS Excel 2007 XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx) |
| Excel 2007–365 (macro-enabled) | "Calc MS Excel 2007 VBA XML" | application/vnd.ms-excel.sheet.macroEnabled.12 (xlsm) |
| Excel 2007–365 Template | "Calc MS Excel 2007 XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm) |
| Microsoft Excel 2007 Binary | "Calc MS Excel 2007 Binary" | None (xlsb) |
| Office Open XML Spreadsheet | "Calc Office Open XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx xlsm) |
| Office Open XML Spreadsheet Template | "Calc Office Open XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm) |
| Microsoft Works Document | "MS-Works-Calc" | None (wks wdb) |
| Lotus Document | "WPS-Lotus-Calc" | None (wk1 wk3 wk4 123) |
| QuattroPro Document | "WPS-QPro-Calc" | None (wb1 wb2 wq1 wq2) |
| ClarisWorks/AppleWorks Spreadsheet | "ClarisWorks-Calc" | application/clarisworks (cwk) |
| ClarisResolve Document | "Claris-Resolve-Calc" | application/clarisworks (cwk) |
| Microsoft Works for Mac Spreadsheet (v1 - v4) | "Mac-Works-Calc" | application/vnd.ms-works (wps) |
| Apple Numbers | "Apple Numbers" | application/x-iwork-numbers-sffnumbers (numbers) |
| Legacy Mac Database | "MWAW-Database" | None (*) |
| Legacy Mac Spreadsheet | "MWAW-Spreadsheet" | None (*) |
| Legacy StarOffice Spreadsheet | "StarOffice-Spreadsheet" | None (sdc) |
| Microsoft Multiplan | "Microsoft Multiplan" | None (mp) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| Apple Keynote | "Apple Keynote" | application/x-iwork-keynote-sffkey (key) |
| PowerPoint 97–2003 | "MS PowerPoint 97" | application/vnd.ms-powerpoint (ppt dps) |
| PowerPoint 97–2003 AutoPlay | "MS PowerPoint 97 AutoPlay" | application/vnd.ms-powerpoint (pps) |
| PowerPoint 97–2003 Template | "MS PowerPoint 97 Vorlage" | application/vnd.ms-powerpoint (pot dpt) |
| OpenOffice.org 1.0 Drawing (Impress) | "impress-StarOffice-XML-Draw" | application/vnd.sun.xml.draw (sxd) |
| Flat XML ODF Presentation | "OpenDocument Presentation Flat XML" | application/vnd.oasis.opendocument.presentation-flat-xml (fodp odp xml) |
| OpenOffice.org 1.0 Presentation | "StarOffice XML (Impress)" | application/vnd.sun.xml.impress (sxi) |
| OpenOffice.org 1.0 Presentation Template | "impress-StarOffice-XML-Impress-Template" | application/vnd.sun.xml.impress.template (sti) |
| PDF - Portable Document Format | "impress-pdf-Export" | application/pdf (pdf) |
| ODF Presentation | "impress8" | application/vnd.oasis.opendocument.presentation (odp) |
| ODF Presentation Template | "impress8-template" | application/vnd.oasis.opendocument.presentation-template (otp) |
| ODF Drawing (Impress) | "impress8-draw" | application/vnd.oasis.opendocument.graphics (odg) |
| PowerPoint 2007–365 | "Impress MS PowerPoint 2007 XML" | application/vnd.openxmlformats-officedocument.presentationml.presentation (pptx) |
| PowerPoint 2007–365 AutoPlay | "Impress MS PowerPoint 2007 XML AutoPlay" | application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx) |
| PowerPoint 2007–365 Template | "Impress MS PowerPoint 2007 XML Template" | application/vnd.openxmlformats-officedocument.presentationml.template (potx potm) |
| PowerPoint 2007–365 VBA | "Impress MS PowerPoint 2007 XML VBA" | application/vnd.ms-powerpoint.presentation.macroEnabled.main+xml (pptm) |
| Office Open XML Presentation | "Impress Office Open XML" | application/vnd.openxmlformats-officedocument.presentationml.presentation (pptx pptm) |
| Office Open XML Presentation Template | "Impress Office Open XML Template" | application/vnd.openxmlformats-officedocument.presentationml.template (potx potm) |
| Office Open XML Presentation AutoPlay | "Impress Office Open XML AutoPlay" | application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx) |
| ClarisWorks/AppleWorks Presentation | "ClarisWorks-Impress" | application/clarisworks (cwk) |
| Legacy StarOffice Presentation | "StarOffice-Presentation" | None (sdd) |
| Legacy Mac Presentation | "MWAW-Presentation" | None (*) |
| Microsoft PowerPoint 1-4 and 95's | "PowerPoint 3" | None (ppt pot) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| Flat XML ODF Drawing | "OpenDocument Drawing Flat XML" | application/vnd.oasis.opendocument.graphics-flat-xml (fodg odg xml) |
| OpenOffice.org 1.0 Drawing | "StarOffice XML (Draw)" | application/vnd.sun.xml.draw (sxd) |
| OpenOffice.org 1.0 Drawing Template | "draw-StarOffice-XML-Draw-Template" | application/vnd.sun.xml.draw.template (std) |
| PDF - Portable Document Format | "draw-pdf-Export" | application/pdf (pdf) |
| ODF Drawing | "draw8" | application/vnd.oasis.opendocument.graphics (odg) |
| ODF Drawing Template | "draw8-template" | application/vnd.oasis.opendocument.graphics-template (otg) |
| WordPerfect Graphics | "WordPerfect Graphics" | image/x-wpg (wpg) |
| Microsoft Visio 2000-2013 | "Visio Document" | application/vnd.visio (vdx vsd vsdm vsdx) |
| Microsoft Publisher 98-2010 | "Publisher Document" | application/x-mspublisher (pub) |
| Corel Draw | "Corel Draw Document" | application/vnd.corel-draw (cdr) |
| Corel Presentation Exchange | "Corel Presentation Exchange" | image/x-cmx (cmx) |
| Adobe/Macromedia Freehand | "Freehand Document" | image/x-freehand (fh fh1 fh2 fh3 fh4 fh5 fh6 fh7 fh8 fh9 fh10 fh11) |
| ClarisWorks/AppleWorks Drawing | "ClarisWorks-Draw" | application/clarisworks (cwk) |
| Adobe PageMaker | "PageMaker Document" | application/x-pagemaker (p65 pm pm6 pmd) |
| QuarkXPress | "QXP Document" | None (qxd qxt) |
| Zoner Callisto/Draw | "ZMF Document" | None (zmf) |
| Legacy Mac Bitmap | "MWAW-Bitmap" | None (*) |
| Legacy Mac Drawing | "MWAW-Drawing" | None (*) |
| Legacy StarOffice Drawing | "StarOffice-Drawing" | None (sda) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| MathML 2.0 | "MathML XML (Math)" | application/mathml+xml (mml) |
| MathType3.x | "MathType 3.x" | None (xxx) |
| OpenOffice.org 1.0 Formula | "StarOffice XML (Math)" | application/vnd.sun.xml.math (sxm) |
| PDF - Portable Document Format | "math-pdf-Export" | application/pdf (pdf) |
| ODF Formula | "math8" | application/vnd.oasis.opendocument.formula (odf) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| ODF Database | "StarOffice XML (Base)" | application/vnd.sun.xml.base (odb) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| JPEG - Joint Photographic Experts Group | "writer-jpg-Export" | image/jpeg (jpg jpeg jfif jif jpe) |
| PNG - Portable Network Graphics | "writer-png-Export" | image/png (png) |
| SVG - Scalable Vector Graphics | "writer-svg-Export" | image/svg+xml (svg svgz) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| PDF - Portable Document Format (Draw) | "draw-pdf-import" | application/pdf (pdf) |
| PDF - Portable Document Format (Impress) | "impress-pdf-import" | application/pdf (pdf) |
| PDF - Portable Document Format (Writer) | "writer-pdf-import" | application/pdf (pdf) |
| PDF - Portable Document Format | "writer-pdf-addstream-import" | application/pdf (pdf) |
| PDF - Portable Document Format | "impress-pdf-addstream-import" | application/pdf (pdf) |
| PDF - Portable Document Format | "draw-pdf-addstream-import" | application/pdf (pdf) |
| PDF - Portable Document Format | "calc-pdf-addstream-import" | application/pdf (pdf) |
| Filter Name | API Name | Media Type (Extension) |
|---|---|---|
| ADO Rowset XML | "ADO Rowset XML" | None (xml) |
| DocBook | "DocBook File" | application/docbook+xml (xml) |
| Microsoft Excel 2003 XML | "MS Excel 2003 XML" | None (xml xls) |
| Word 2003 XML | "MS Word 2003 XML" | None (xml doc) |
| XHTML | "XHTML Calc File" | application/xhtml+xml (html xhtml) |
| XHTML | "XHTML Draw File" | application/xhtml+xml (html xhtml) |
| XHTML | "XHTML Impress File" | application/xhtml+xml (html xhtml) |
| XHTML | "XHTML Writer File" | application/xhtml+xml (html xhtml) |
| Unified Office Format text | "UOF text" | None (uot;uof) |
| Unified Office Format spreadsheet | "UOF spreadsheet" | None (uos;uof) |
| Unified Office Format presentation | "UOF presentation" | None (uop;uof) |