Indhold

# Filternavne i filkonvertering

Tabeller med filternavne til kommandolinje dokumentkonvertering.

## Brug

Filternavne bruges under import og eksport af filer i fremmede formater og under konvertering af filformater gennem kommandolinjen.

soffice --convert-to OutputFileExtension[:OutputFilterName[:OutputFilterParams[,param]]] [--outdir output_dir]

Hvis --convert-to brugeres mere end én gang, er den sidste værdi af OutputFileExtension[:OutputFilterName[:OutputFilterParams]] gældende. Hvis --outdir bruges mere end én gang, er kun den sidste værdi gældende. Hvis --ourdir mangler, bruges den aktuelle arbejdsmappe til resultatet. For eksempel:

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

## Filtre til WRITER

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
HTML-dokument (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 Skabelon | "MS Word 95 Vorlage" | application/msword (dot)
Word 97–2003 | "MS Word 97" | application/msword (doc wps)
Word 97–2003 Skabelon | "MS Word 97 Vorlage" | application/msword (dot wpt)
Fladt XML ODF-tekstdokument | "OpenDocument Text Flat XML" | application/vnd.oasis.opendocument.text-flat-xml (fodt odt xml)
Formateret tekst (RTF) | "Rich Text Format" | application/rtf (rtf)
OpenOffice.org 1.0 Tekstdokument | "StarOffice XML (Writer)" | application/vnd.sun.xml.writer (sxw)
WordPerfect-dokument | "WordPerfect" | application/vnd.wordperfect (wpd)
Microsoft Works-dokument | "MS_Works" | application/vnd.ms-works (wps)
Microsoft Write | "MS_Write" | application/x-mswrite (wri)
Microsoft Word til DOS | "DosWord" | None (doc)
ClarisWorks/AppleWorks-tekstdokument | "ClarisWorks" | application/clarisworks (cwk)
Microsoft Word til Mac (v1 - v5) | "Mac_Word" | application/msword (doc)
Microsoft Works til Mac-tekstdokument (v1 - v4) | "Mac_Works" | application/vnd.ms-works (wps)
MacWrite-dokument | "MacWrite" | application/macwriteii (mw mcw)
Mariner Write Mac Classic v1.6 - v3.5 | "Mariner_Write" | (mwd)
WriteNow-dokument | "WriteNow" | (wn nx^d)
AbiWord-dokument | "AbiWord" | application/x-abiword (abw zabw)
T602-dokument | "T602Document" | application/x-t602 (602)
Lotus WordPro-dokument | "LotusWordPro" | application/vnd.lotus-wordpro (lwp)
Tekst | "Text" | text/plain (csv tsv tab txt)
Tekst ▸ Vælg indkodning | "Text (encoded)" | text/plain (csv tsv tab txt)
Hangul WP 97 | "writer_MIZI_Hwp_97" | application/x-hwp (hwp)
OpenOffice.org 1.0-tekstdokument -skabelon | "writer_StarOffice_XML_Writer_Template" | application/vnd.sun.xml.writer.template (stw)
PDF – Portable Document Format | "writer_pdf_Export" | application/pdf (pdf)
ODF-tekstdokument | "writer8" | application/vnd.oasis.opendocument.text (odt)
ODF-tekstdokument-skabelon | "writer8_template" | application/vnd.oasis.opendocument.text-template (ott)
Word 2007 | "MS Word 2007 XML" | application/msword (docx)
Word 2007-skabelon | "MS Word 2007 XML Template" | application/msword (dotx dotm)
Word 2007 VBA | "MS Word 2007 XML VBA" | application/msword (docm)
Word 2010-365-dokument | "Office Open XML Text" | application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx docm)
Word 2010-365-skabelon | "Office Open XML Text Template" | application/vnd.openxmlformats-officedocument.wordprocessingml.template (dotx dotm)
Writer Layout-XML | "writer_layout_dump" | None (xml)
Writer indekserer Eksport-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)
Ældre Mac-tekstdokument | "MWAW_Text_Document" | None (*)
Palm tekst-dokument | "Palm_Text_Document" | application/vnd.palm (pdb)
Ældre StarOffice-tekstdokument | "StarOffice_Writer" | None (sdw)
EPUB-dokument | "EPUB" | application/epub+zip (epub)
Pocket Word | "PocketWord File" | application/x-pocket-word (psw)
Markdown-dokument | "Markdown" | text/markdown (md)

## Filtre til CALC

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
Data Interchange Format (= Data-vekslingsformat) | "DIF" | None (dif)
HTML-dokument (Calc) | "HTML (StarCalc)" | text/html (html xhtml htm)
Fladt XML ODF-regneark | "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-skabelon | "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-skabelon | "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-skabelon | "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-skabelon | "MS Excel 97 Vorlage/Template" | application/vnd.ms-excel (xlt ett)
Rigt Tekst-format (Calc) | "Rich Text Format (StarCalc)" | application/rtf (rtf)
SYLK | "SYLK" | text/spreadsheet (slk sylk)
OpenOffice.org 1.0-regneark | "StarOffice XML (Calc)" | application/vnd.sun.xml.calc (sxc)
Tekst-CSV | "Text - txt - csv (StarCalc)" | text/plain (csv tsv tab txt)
Webside-forespørgsel (Calc) | "calc_HTML_WebQuery" | text/html (html xhtml htm)
OpenOffice.org 1.0-regnearks-skabelon | "calc_StarOffice_XML_Calc_Template" | application/vnd.sun.xml.calc.template (stc)
PDF – Portable Document Format | "calc_pdf_Export" | application/pdf (pdf)
Apache Parquet-regneark | "Apache Parquet Spreadsheet" | None (parquet)
dBASE | "dBase" | None (dbf)
ODF-regneark | "calc8" | application/vnd.oasis.opendocument.spreadsheet (ods)
ODF-regnearks-skabelon | "calc8_template" | application/vnd.oasis.opendocument.spreadsheet-template (ots)
Gnumeric-regneark | "Gnumeric Spreadsheet" | application/x-gnumeric (gnumeric gnm)
Excel 2007 | "Calc MS Excel 2007 XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx)
Excel 2007 (med makroer) | "Calc MS Excel 2007 VBA XML" | application/vnd.ms-excel.sheet.macroEnabled.12 (xlsm)
Excel 2007-skabelon | "Calc MS Excel 2007 XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm)
Microsoft Excel 2007-binær | "Calc MS Excel 2007 Binary" | None (xlsb)
Excel 2010–365-regneark | "Calc Office Open XML" | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx xlsm)
Excel 2010–365-skabelon | "Calc Office Open XML Template" | application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm)
Microsoft Works-dokument | "MS_Works_Calc" | None (wks wdb)
Lotus-dokument | "WPS_Lotus_Calc" | None (wk1 wk3 wk4 123)
QuattroPro-dokument | "WPS_QPro_Calc" | None (wb1 wb2 wq1 wq2)
ClarisWorks/AppleWorks-regneark | "ClarisWorks_Calc" | application/clarisworks (cwk)
ClarisResolve-dokument | "Claris_Resolve_Calc" | application/clarisworks (cwk)
Microsoft Works til Mac-regneark (v1 - v4) | "Mac_Works_Calc" | application/vnd.ms-works (wps)
Apple Numbers | "Apple Numbers" | application/x-iwork-numbers-sffnumbers (numbers)
Ældre Mac-database | "MWAW_Database" | None (*)
Ældre Mac-regneark | "MWAW_Spreadsheet" | None (*)
Ældre StarOffice-regneark | "StarOffice_Spreadsheet" | None (sdc)
Microsoft Multiplan | "Microsoft Multiplan" | None (mp)

## Filtre til IMPRESS

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (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 (= selvstartende) | "MS PowerPoint 97 AutoPlay" | application/vnd.ms-powerpoint (pps)
PowerPoint 97–2003-skabelon | "MS PowerPoint 97 Vorlage" | application/vnd.ms-powerpoint (pot dpt)
OpenOffice.org 1.0-tegning (Impress) | "impress_StarOffice_XML_Draw" | application/vnd.sun.xml.draw (sxd)
Flad XML ODF-præsentation | "OpenDocument Presentation Flat XML" | application/vnd.oasis.opendocument.presentation-flat-xml (fodp odp xml)
OpenOffice.org 1.0-præsentation | "StarOffice XML (Impress)" | application/vnd.sun.xml.impress (sxi)
OpenOffice.org 1.0-præsentations-skabelon | "impress_StarOffice_XML_Impress_Template" | application/vnd.sun.xml.impress.template (sti)
PDF – Portable Document Format | "impress_pdf_Export" | application/pdf (pdf)
ODF-præsentation | "impress8" | application/vnd.oasis.opendocument.presentation (odp)
ODF-præsentations-skabelon | "impress8_template" | application/vnd.oasis.opendocument.presentation-template (otp)
ODF-tegning (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 (= selvstartende) | "Impress MS PowerPoint 2007 XML AutoPlay" | application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx)
PowerPoint 2007–365-skabelon | "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 Åben XML-præsentation | "Impress Office Open XML" | application/vnd.openxmlformats-officedocument.presentationml.presentation (pptx pptm)
Office Åben XML-præsentations-skabelon | "Impress Office Open XML Template" | application/vnd.openxmlformats-officedocument.presentationml.template (potx potm)
Office ÅBen XML-præsentation AutoPlay (= selvstartende) | "Impress Office Open XML AutoPlay" | application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx)
ClarisWorks/AppleWorks-præsentation | "ClarisWorks_Impress" | application/clarisworks (cwk)
Ældre StarOffice-præsentation | "StarOffice_Presentation" | None (sdd)
Ældre Mac-præsentation | "MWAW_Presentation" | None (*)
Microsoft PowerPoint 1-4 og 95'ere | "PowerPoint 3" | None (ppt pot)

## Filtre til DRAW

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
Flad XML ODF-tegning | "OpenDocument Drawing Flat XML" | application/vnd.oasis.opendocument.graphics-flat-xml (fodg odg xml)
OpenOffice.org 1.0-tegning | "StarOffice XML (Draw)" | application/vnd.sun.xml.draw (sxd)
OpenOffice.org 1.0-tegnings-skabelon | "draw_StarOffice_XML_Draw_Template" | application/vnd.sun.xml.draw.template (std)
PDF – Portable Document Format | "draw_pdf_Export" | application/pdf (pdf)
ODF-tegning | "draw8" | application/vnd.oasis.opendocument.graphics (odg)
ODF-tegnings-skabelon | "draw8_template" | application/vnd.oasis.opendocument.graphics-template (otg)
WordPerfect-grafik | "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-præsentations-udveksling | "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-tegning | "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)
Ældre Mac-bitmap | "MWAW_Bitmap" | None (*)
Ældre Mac-tegning | "MWAW_Drawing" | None (*)
Ældre StarOffice-tegning | "StarOffice_Drawing" | None (sda)

## Filtre til MATH

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
MathML 2.0 | "MathML XML (Math)" | application/mathml+xml (mml)
MathType3.x | "MathType 3.x" | None (xxx)
OpenOffice.org 1.0-formel | "StarOffice XML (Math)" | application/vnd.sun.xml.math (sxm)
PDF – Portable Document Format | "math_pdf_Export" | application/pdf (pdf)
ODF-formel | "math8" | application/vnd.oasis.opendocument.formula (odf)

## Filtre til BASE

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
ODF-database | "StarOffice XML (Base)" | application/vnd.sun.xml.base (odb)

## Filtre til GRAPHICFILTER

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (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 – Skalerbar vektorgrafik | "writer_svg_Export" | image/svg+xml (svg)
WEBP – WebP-billede | "writer_webp_Export" | image/webp (webp)

## Filtre til PDFIMPORT

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (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)

## Filtre til XSLTFILTER

Vist filternavn | API-navn ((OutputFilterName / InputFilterName) | Medietype (OutputFileExtension)
--- | --- | ---
ADO rækkesæt 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 tekst | "UOF text" | None (uot;uof)
Unified Office Format regneark | "UOF spreadsheet" | None (uos;uof)
Unified Office Format præsentation | "UOF presentation" | None (uop;uof)

Støt os venligst!