目录

# 文件转换筛选器名称清单

在进行命令行文件转换时可能会用到的转换器名称清单

## 用法

转换器名称用于导入或导出各种受支持的文件格式，或者用于通过 命令行进行文件格式的转换。

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".

## Writer 中的筛选器

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
HTML 文档 (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 模板 | "MS Word 95 Vorlage" | application/msword (dot)
Word 97–2003 | "MS Word 97" | application/msword (doc wps)
Word 97–2003 模板 | "MS Word 97 Vorlage" | application/msword (dot wpt)
Flat XML ODF 文本文档 | "OpenDocument Text Flat XML" | application/vnd.oasis.opendocument.text-flat-xml (fodt odt xml)
富文本 | "Rich Text Format" | application/rtf (rtf)
OpenOffice.org 1.0 文本文档 | "StarOffice XML (Writer)" | application/vnd.sun.xml.writer (sxw)
WordPerfect 文档 | "WordPerfect" | application/vnd.wordperfect (wpd)
Microsoft Works 文档 | "MS_Works" | application/vnd.ms-works (wps)
Microsoft Write | "MS_Write" | application/x-mswrite (wri)
Microsoft Word for DOS | "DosWord" | None (doc)
ClarisWorks/AppleWorks 文本文档 | "ClarisWorks" | application/clarisworks (cwk)
Microsoft Word for Mac (v1 - v5) | "Mac_Word" | application/msword (doc)
Microsoft Works for Mac 文本文档 (v1 - v4) | "Mac_Works" | application/vnd.ms-works (wps)
MacWrite 文档 | "MacWrite" | application/macwriteii (mw mcw)
Mariner Write Mac 传统文档 v1.6 - v3.5 | "Mariner_Write" | (mwd)
WriteNow 文档 | "WriteNow" | (wn nx^d)
AbiWord 文档 | "AbiWord" | application/x-abiword (abw zabw)
T602 文档 | "T602Document" | application/x-t602 (602)
Lotus WordPro 文档 | "LotusWordPro" | application/vnd.lotus-wordpro (lwp)
Text 纯文本文档 | "Text" | text/plain (csv tsv tab txt)
Text 纯文本文档- 选择编码 | "Text (encoded)" | text/plain (csv tsv tab txt)
Hangul WP 97 | "writer_MIZI_Hwp_97" | application/x-hwp (hwp)
OpenOffice.org 1.0 文本文档模板 | "writer_StarOffice_XML_Writer_Template" | application/vnd.sun.xml.writer.template (stw)
PDF - 便携式文档格式 | "writer_pdf_Export" | application/pdf (pdf)
ODF 文本文档 | "writer8" | application/vnd.oasis.opendocument.text (odt)
ODF 文本文档模板 | "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 索引导出式 XML | "writer_indexing_export" | None (xml)
BroadBand 电子书 | "BroadBand eBook" | application/x-sony-bbeb (lrf)
FictionBook 2.0 | "FictionBook 2" | application/x-fictionbook+xml (fb2 zip)
PalmDoc 电子书 | "PalmDoc" | application/x-aportisdoc (pdb)
Plucker 电子书 | "Plucker eBook" | application/prs.plucker (pdb)
Apple Pages | "Apple Pages" | application/x-iwork-pages-sffpages (pages)
旧式 Mac 文本文档 | "MWAW_Text_Document" | None (*)
Palm 文本文档 | "Palm_Text_Document" | application/vnd.palm (pdb)
旧式 StarOffice 文本文档 | "StarOffice_Writer" | None (sdw)
EPUB 电子书文档 | "EPUB" | application/epub+zip (epub)
Pocket Word | "PocketWord File" | application/x-pocket-word (psw)
Markdown Document | "Markdown" | text/markdown (md)

## Calc 中的的筛选器

Displayed Filter Name | API Name (OutputFilterName / InputFilterName) | Media Type (OutputFileExtension)
--- | --- | ---
数据交货格式 | "DIF" | None (dif)
HTML 文档 (Calc) | "HTML (StarCalc)" | text/html (html xhtml htm)
扁平 XML 式 ODF 电子表格 | "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 模板 | "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 模板 | "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 模板 | "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 模板 | "MS Excel 97 Vorlage/Template" | application/vnd.ms-excel (xlt ett)
富文本格式 (Calc) | "Rich Text Format (StarCalc)" | application/rtf (rtf)
SYLK | "SYLK" | text/spreadsheet (slk sylk)
OpenOffice.org 1.0 电子表格 | "StarOffice XML (Calc)" | application/vnd.sun.xml.calc (sxc)
纯文本 CSV | "Text - txt - csv (StarCalc)" | text/plain (csv tsv tab txt)
网页查询 (Calc) | "calc_HTML_WebQuery" | text/html (html xhtml htm)
OpenOffice.org 1.0 电子表格模板 | "calc_StarOffice_XML_Calc_Template" | application/vnd.sun.xml.calc.template (stc)
PDF - 便携式文档格式 | "calc_pdf_Export" | application/pdf (pdf)
Apache Parquet Spreadsheet | "Apache Parquet Spreadsheet" | None (parquet)
dBASE | "dBase" | None (dbf)
ODF 电子表格 | "calc8" | application/vnd.oasis.opendocument.spreadsheet (ods)
ODF 电子表格模板 | "calc8_template" | application/vnd.oasis.opendocument.spreadsheet-template (ots)
Gnumeric 电子表格 | "Gnumeric Spreadsheet" | application/x-gnumeric (gnumeric gnm)
Excel 2007 | "Calc MS Excel 2007 XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx)
Excel 2007 (macro-enabled) | "Calc MS Excel 2007 VBA XML" | application/vnd.ms-excel.sheet.macroEnabled.12 (xlsm)
Excel 2007 Template | "Calc MS Excel 2007 XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm)
Microsoft Excel 2007 二进制文档 | "Calc MS Excel 2007 Binary" | None (xlsb)
Excel 2010–365 Spreadsheet | "Calc Office Open XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx xlsm)
Excel 2010–365 Template | "Calc Office Open XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm)
Microsoft Works 文档 | "MS_Works_Calc" | None (wks wdb)
Lotus 文档 | "WPS_Lotus_Calc" | None (wk1 wk3 wk4 123)
QuattroPro 文档 | "WPS_QPro_Calc" | None (wb1 wb2 wq1 wq2)
ClarisWorks/AppleWorks 电子表格 | "ClarisWorks_Calc" | application/clarisworks (cwk)
ClarisResolve 文档 | "Claris_Resolve_Calc" | application/clarisworks (cwk)
Microsoft Works for Mac 电子表格 (v1 - v4) | "Mac_Works_Calc" | application/vnd.ms-works (wps)
Apple Numbers | "Apple Numbers" | application/x-iwork-numbers-sffnumbers (numbers)
旧式 Mac 数据库 | "MWAW_Database" | None (*)
旧式 Mac 电子表格 | "MWAW_Spreadsheet" | None (*)
旧式 StarOffice 电子表格 | "StarOffice_Spreadsheet" | None (sdc)
Microsoft Multiplan | "Microsoft Multiplan" | None (mp)

## 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 自动播放 | "MS PowerPoint 97 AutoPlay" | application/vnd.ms-powerpoint (pps)
PowerPoint 97–2003 模板 | "MS PowerPoint 97 Vorlage" | application/vnd.ms-powerpoint (pot dpt)
OpenOffice.org 1.0 绘图 (Impress) | "impress_StarOffice_XML_Draw" | application/vnd.sun.xml.draw (sxd)
扁平 XML 式 ODF 演示文稿 | "OpenDocument Presentation Flat XML" | application/vnd.oasis.opendocument.presentation-flat-xml (fodp odp xml)
OpenOffice.org 1.0 演示文稿 | "StarOffice XML (Impress)" | application/vnd.sun.xml.impress (sxi)
OpenOffice.org 1.0 演示文稿模板 | "impress_StarOffice_XML_Impress_Template" | application/vnd.sun.xml.impress.template (sti)
PDF - 便携式文档格式 | "impress_pdf_Export" | application/pdf (pdf)
ODF 演示文稿 | "impress8" | application/vnd.oasis.opendocument.presentation (odp)
ODF 演示文稿模板 | "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)

## 供 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 vstx)
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)

## 供 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)

## 供 Base 使用的筛选器

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

## 供 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)

请支持我们!