Tartalom

# File Conversion Filter Names

Tables with filter names for command line document conversion.

## Usage

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. In absence of --outdir, current working directory is used for the result. 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".

## Filters for WRITER

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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 | "MS Word 2007 XML" | application/msword (docx)
Word 2007 Template | "MS Word 2007 XML Template" | application/msword (dotx dotm)
Word 2007 VBA | "MS Word 2007 XML VBA" | application/msword (docm)
Word 2010–365 Document | "Office Open XML Text" | application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx docm)
Word 2010–365 Template | "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)

## Filters for CALC

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)
Apache Parquet Spreadsheet | "Apache Parquet Spreadsheet" | None (parquet)
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)

## Filters for IMPRESS

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)

## Filters for DRAW

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)

## Filters for MATH

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)

## Filters for BASE

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
ODF Database | "StarOffice XML (Base)" | application/vnd.sun.xml.base (odb)

## Filters for GRAPHICFILTER

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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 apng)
SVG - Scalable Vector Graphics | "writer_svg_Export" | image/svg+xml (svg)
WEBP - WebP Image | "writer_webp_Export" | image/webp (webp)

## Filters for PDFIMPORT

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)

## Filters for XSLTFILTER

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
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)