From 226a545d33667a0c9526593a5182ac0a849933e2 Mon Sep 17 00:00:00 2001 From: Kevin Suo Date: Sun, 30 May 2021 20:39:31 +0800 Subject: tdf#142417: Improve convertfilters.py and add API Names column This commit involves two parts: 1. Improved the convertfilters.py helper script to make sure the generated convertfilters.xhp file is complete, accurate and containing no duplicated entries, and also add codes to also generate API Names column, as discussed in tdf#142417. Importantly, the code is modified to generate fixed IDs, rather than the previously random IDs or sequential IDs which may make the PO translation strings to show fuzzy when the file is re-generated. 2. This helper script is run and the convertfilters.xhp is updated. 3. The default css is modified to better display the page. There is no need to set overflow=auto for the DisplayArea, otherwise the scrollbar goes to the bottom of that area which is not visible. Also added a css class to display smaller fonts for the table. Change-Id: I8a5c73c9d6a0c0b44fc7db6cb67b140bfeb8b4be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116405 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/default.css | 6 +- helpers/convertfilters.py | 235 +++-- source/text/shared/guide/convertfilters.xhp | 1401 +++++++++++---------------- 3 files changed, 696 insertions(+), 946 deletions(-) mode change 100644 => 100755 helpers/convertfilters.py diff --git a/help3xsl/default.css b/help3xsl/default.css index ce1dd77f8b..29cb0f0105 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -196,8 +196,6 @@ table { background: #FEFEFE; box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0; border-collapse: collapse; - margin-left: auto; - margin-right: auto; } table, th, td { border-top: 0; @@ -216,6 +214,10 @@ table, th, td { vertical-align:top; } +.table_font_small { + font-size: 0.98rem; +} + h1, h2, h3, diff --git a/helpers/convertfilters.py b/helpers/convertfilters.py old mode 100644 new mode 100755 index 209a78c1dc..dcb25af00a --- a/helpers/convertfilters.py +++ b/helpers/convertfilters.py @@ -6,106 +6,173 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -# Run this in instdir/share/registry/ +# This script is used to generate the convertfilters.xhp file located +# in helpcontent2/source/text/shared/guide. +# +# Run this script followed by the path of instdir/share/registry/ +# i.e.: ./convertfilters.py /path/to/source/core/instdir/share/registry +# # Requires Python 3.6 or greater. +import os import sys import random import time from math import floor from lxml import etree +output_file_path = os.path.join(os.path.dirname(sys.argv[0]), "convertfilters.xhp") +try: + registry_dir = sys.argv[1] +except IndexError: + print("Usage: ./convertfilters.py /path/to/source/core/instdir/share/registry") + sys.exit(1) + +if not os.path.exists(registry_dir): + print(f"{registry_dir} does not exist. Make sure you have built the core repo before running this script") + sys.exit(1) + modules = ["writer.xcd","calc.xcd","impress.xcd","draw.xcd","math.xcd","base.xcd","graphicfilter.xcd"] -def rdm(prefix): - return prefix + "_id" + str(floor(random.random() * 1000) + 1) + str(int(time.time())) +def gen_id(apiname): + '''This function accepts module name and an API Name of the filter, and then generate + a unique ID. API Names are used since they are unique within the page. + + Do not use random numbers or sequence-count numbers here since it will cause all words to be "fuzzy" in PO files + when the xhp file is regenerated. + ''' + apiname = apiname.replace(" ", "_") + apiname = apiname.replace("(", "_") + apiname = apiname.replace(")", "_") + apiname = apiname.replace("/", "_") + + return apiname -output = "" -output += f'\n' -output += f'\n' -output += f'\n' -output += f'\n' -output += f'\n' -output += f'File Conversion Filters Tables\n' -output += f'/text/shared/guide/convertfilters.xhp\n' -output += f'\n\n\n' -output += f'
\n' -output += f'\n' -output += f'filters;document conversion\n' -output += f'document conversion;filters\n' -output += f'convert-to;filters\n' -output += f'command line document conversion;filters\n' -output += f'module file filters\n' -output += f'\n' -output += f'

File Conversion Filter Names

\n' -output += f'Tables with filter names for command line document conversion.\n' -output += f'
\n' -output += f'Filter nameMedia typeFile name extensions\n' +output = ''' + + + + + File Conversion Filters Tables + /text/shared/guide/convertfilters.xhp + + + +
+ + filters;document conversion + document conversion;filters + convert-to;filters + command line document conversion;filters + module file filters + +

+ File Conversion Filter Names +

+ + + Tables with filter names for command line document conversion. + + +
+''' + +output += ''' + + + Filter Name + API Name + Media Type (Extension) + + +''' for module in modules: - tree = etree.parse(module) + print("\n-------" + module + "----------") + module_path = os.path.join(registry_dir, module) + tree = etree.parse(module_path) namespaces = tree.getroot().nsmap - typenodes = tree.findall('oor:component-data/node[@oor:name="Types"]/node', namespaces) + filternodes = tree.findall( + 'oor:component-data[@oor:name="Filter"]/node', + namespaces)[-1] filters = [] - for type in typenodes: - uiname = str(type.findtext('prop[@oor:name="UIName"]/value', namespaces=namespaces)) - mediatype = str(type.findtext('prop[@oor:name="MediaType"]/value', namespaces=namespaces)) - extensions = str(type.findtext('prop[@oor:name="Extensions"]/value', namespaces=namespaces)) - filters.append([uiname,mediatype,extensions]) + for filter_node in filternodes: + uiname = str(filter_node.findtext('prop[@oor:name="UIName"]/value', namespaces=namespaces)) + apiname = filter_node.attrib['{' + namespaces['oor'] + '}name'] + + filter_type = str(filter_node.findtext('prop[@oor:name="Type"]/value', namespaces=namespaces)) + type_node = tree.find( + f'oor:component-data[@oor:name="Types"]/node/node[@oor:name="{filter_type}"]', + namespaces) + try: + mediatype = str(type_node.findtext('prop[@oor:name="MediaType"]/value', namespaces=namespaces)) + extensions = str(type_node.findtext('prop[@oor:name="Extensions"]/value', namespaces=namespaces)) + except AttributeError: + continue + + filter_data = [uiname, apiname, mediatype, extensions] + print(filter_data) + filters.append(filter_data) + + output += f'\ +
\n\ + \n\ + command line document conversion; filters for {module[:-4].upper()}\n\ + \n\ +

Filters for {module[:-4].upper()}

\n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ + \n\ +' + + for item in filters: + uid = gen_id(item[1]) + output += f'\ + \n\ + \n\ + {item[0]}\n\ + \n\ + \n\ + {item[1]}\n\ + \n\ + \n\ + {item[2]} ({item[3]})\n\ + \n\ + \n' + + output += f'\ +
\n\ +
\n' - st = sorted(filters, key=lambda x: x[0]) - output += f'
\n' - output += f'\n' - output += f'command line document conversion; filters for {module[:-4].upper()}\n' - output += f'\n' - output += f'

Filters for {module[:-4].upper()}

\n' - output += f' \n' - output += ' \n' - output += ' \n' - output += f' ' - output += '\n' - output += ' \n' - output += ' \n' - output += f' ' - output += '\n' - output += ' \n' - output += ' \n' - output += f' ' - output += '\n' - output += ' \n' - output += ' \n' - count = 0 - for item in st: - output += ' \n' - output += ' \n' - output += f' ' - output += f'{item[0]}' - count +=1 - output += '\n' - output += ' \n' - output += ' \n' - output += f' ' - output += f'{item[1]}' - count +=1 - output += '\n' - output += ' \n' - output += ' \n' - output += f' ' - output += f'{item[2]}' - count +=1 - output += '\n' - output += ' \n' - output += ' \n' +output += f'\ +\n\ +' - output += '
\n' - output += '
\n' +with open(output_file_path, "w") as f: + f.write(output) -output += f'\n
' -print(output) +print(f'\nDone. File saved at: {output_file_path}.') +print(f'Please move this file into helpcontent2/source/text/shared/guide.') diff --git a/source/text/shared/guide/convertfilters.xhp b/source/text/shared/guide/convertfilters.xhp index 5510921ab5..fadb24e92c 100644 --- a/source/text/shared/guide/convertfilters.xhp +++ b/source/text/shared/guide/convertfilters.xhp @@ -7,2050 +7,1731 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - --> +--> - -File Conversion Filters Tables -/text/shared/guide/convertfilters.xhp - + + File Conversion Filters Tables + /text/shared/guide/convertfilters.xhp +
- -filters;document conversion -document conversion;filters -convert-to;filters -command line document conversion;filters -module file filters - -

File Conversion Filter Names

-Tables with filter names for command line document conversion. + + filters;document conversion + document conversion;filters + convert-to;filters + command line document conversion;filters + module file filters + +

+ File Conversion Filter Names +

+ + + Tables with filter names for command line document conversion. + +
-Filter nameMedia typeFile name extensions + + + + Filter Name + API Name + Media Type (Extension) + +
- -command line document conversion; filters for WRITER - -

Filters for WRITER

- + + command line document conversion; filters for WRITER + +

Filters for WRITER

+
- + + + - + + + - + + + - AbiWord Document + HTML Document (Writer) - application/x-abiword + HTML (StarWriter) - abw zabw + text/html (html xhtml htm) - Apple Pages + Microsoft WinWord 1/2/5 - application/x-iwork-pages-sffpages + MS WinWord 5 - pages + application/msword (doc) - BroadBand eBook + Microsoft Word 6.0 - application/x-sony-bbeb + MS WinWord 6.0 - lrf + application/msword (doc) - ClarisWorks/AppleWorks Document + Microsoft Word 95 - application/clarisworks + MS Word 95 - cwk + application/msword (doc) - EPUB Document + Microsoft Word 95 Template - application/epub+zip + MS Word 95 Vorlage - epub + application/msword (dot) - FictionBook 2.0 + Word 97–2003 - application/x-fictionbook+xml + MS Word 97 - fb2 zip + application/msword (doc wps) - HTML Document + Word 97–2003 Template - text/html + MS Word 97 Vorlage - html xhtml htm + application/msword (dot wpt) - Hangul WP 97 + Flat XML ODF Text Document - application/x-hwp + OpenDocument Text Flat XML - hwp + application/vnd.oasis.opendocument.text-flat-xml (fodt odt xml) - Help content + Rich Text - None + Rich Text Format - None + application/rtf (rtf) - Legacy Mac Text Document + OpenOffice.org 1.0 Text Document - None + StarOffice XML (Writer) - * + application/vnd.sun.xml.writer (sxw) - Legacy StarOffice Text Document + WordPerfect Document - None + WordPerfect - sdw + application/vnd.wordperfect (wpd) - LotusWordPro Document + Microsoft Works Document - application/vnd.lotus-wordpro + MS_Works - lwp + application/vnd.ms-works (wps) - MS Word 95 Template + Microsoft Write - application/msword + MS_Write - dot + application/x-mswrite (wri) - MacWrite Document + Microsoft Word for DOS - application/macwriteii + DosWord - mw mcw + None (doc) - Mariner Write Mac Classic v1.6 - v3.5 + ClarisWorks/AppleWorks Text Document - + ClarisWorks - mwd + application/clarisworks (cwk) - Microsoft Excel 4.0 + Microsoft Word for Mac (v1 - v5) - application/vnd.ms-excel + Mac_Word - xls xlw xlc xlm + application/msword (doc) - Microsoft Excel 5.0 + Microsoft Works for Mac Text Document (v1 - v4) - application/vnd.ms-excel + Mac_Works - xls xlc xlm xlw + application/vnd.ms-works (wps) - Microsoft Excel 95 + MacWrite Document - application/vnd.ms-excel + MacWrite - xls xlc xlm xlw + application/macwriteii (mw mcw) - Microsoft WinWord 1/2/5 + Mariner Write Mac Classic v1.6 - v3.5 - application/msword + Mariner_Write - doc + (mwd) - Microsoft Word 6.0 + WriteNow Document - application/msword + WriteNow - doc + (wn nx^d) - Microsoft Word 95 + AbiWord Document - application/msword + AbiWord - doc + application/x-abiword (abw zabw) - Microsoft Word for DOS + T602 Document - None + T602Document - doc + application/x-t602 (602 txt) - Microsoft Word for Mac (v1 - v5) + Lotus WordPro Document - application/msword + LotusWordPro - doc + application/vnd.lotus-wordpro (lwp) - Microsoft Works Document + Text - application/vnd.ms-works + Text - wps + text/plain (csv tsv tab txt) - Microsoft Works for Mac Document (v1 - v4) + Text - Choose Encoding - application/vnd.ms-works + Text (encoded) - wps + text/plain (csv tsv tab txt) - Microsoft Write + Hangul WP 97 - application/x-mswrite + writer_MIZI_Hwp_97 - wri + application/x-hwp (hwp) - Office Open XML Text Document + OpenOffice.org 1.0 Text Document Template - application/vnd.openxmlformats-officedocument.wordprocessingml.document + writer_StarOffice_XML_Writer_Template - docx docm + application/vnd.sun.xml.writer.template (stw) - Office Open XML Text Template + PDF - Portable Document Format - application/vnd.openxmlformats-officedocument.wordprocessingml.template + writer_pdf_Export - dotx dotm + application/pdf (pdf) - OpenDocument Text (Flat XML) + ODF Text Document - application/vnd.oasis.opendocument.text-flat-xml + writer8 - fodt odt xml + application/vnd.oasis.opendocument.text (odt) - OpenOffice.org 1.0 Text Document + ODF Text Document Template - application/vnd.sun.xml.writer + writer8_template - sxw + application/vnd.oasis.opendocument.text-template (ott) - PDF - Portable Document Format + Word 2007–365 - application/pdf + MS Word 2007 XML - pdf + application/msword (docx) - Palm Text Document + Word 2007–365 Template - application/vnd.palm + MS Word 2007 XML Template - pdb + application/msword (dotx dotm) - PalmDoc eBook + Word 2007–365 VBA - application/x-aportisdoc + MS Word 2007 XML VBA - pdb + application/msword (docm) - Plucker eBook + Office Open XML Text (Transitional) - application/prs.plucker + Office Open XML Text - pdb + application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx docm) - Rich Text Format + Office Open XML Text Template (Transitional) - application/rtf + Office Open XML Text Template - rtf + application/vnd.openxmlformats-officedocument.wordprocessingml.template (dotx dotm) - T602 Document + Writer Layout XML - application/x-t602 + writer_layout_dump - 602 txt + None (xml) - Text + BroadBand eBook - text/plain + BroadBand eBook - csv tsv tab txt + application/x-sony-bbeb (lrf) - Word 2007–365 + FictionBook 2.0 - application/msword + FictionBook 2 - docx + application/x-fictionbook+xml (fb2 zip) - Word 2007–365 Template + PalmDoc eBook - application/msword + PalmDoc - dotx dotm + application/x-aportisdoc (pdb) - Word 2007–365 VBA + Plucker eBook - application/msword + Plucker eBook - docm + application/prs.plucker (pdb) - Word 97–2000 Template + Apple Pages - application/msword + Apple Pages - dot wpt + application/x-iwork-pages-sffpages (pages) - Word 97–2003 + Legacy Mac Text Document - application/msword + MWAW_Text_Document - doc wps + None (*) - WordPerfect Document + Palm Text Document - application/vnd.wordperfect + Palm_Text_Document - wpd + application/vnd.palm (pdb) - WriteNow Document + Legacy StarOffice Text Document - + StarOffice_Writer - wn nx^d + None (sdw) - Writer 6.0 Master Document + EPUB Document - application/vnd.sun.xml.writer.global + EPUB - sxg + application/epub+zip (epub) - Writer 6.0 Template + Pocket Word - application/vnd.sun.xml.writer.template + PocketWord File - stw - - - - - Writer 8 - - - application/vnd.oasis.opendocument.text - - - odt - - - - - Writer 8 Master Document - - - application/vnd.oasis.opendocument.text-master - - - odm - - - - - Writer 8 Master Document Template - - - application/vnd.oasis.opendocument.text-master-template - - - otm - - - - - Writer 8 Template - - - application/vnd.oasis.opendocument.text-template - - - ott - - - - - Writer Layout Dump - - - None - - - xml - - - - - Writer/Web 6.0 Template - - - application/vnd.sun.xml.writer.web - - - stw - - - - - Writer/Web 8 Template - - - application/vnd.oasis.opendocument.text-web - - - oth + application/x-pocket-word (psw)
- -command line document conversion; filters for CALC - -

Filters for CALC

- + + command line document conversion; filters for CALC + +

Filters for CALC

+
- + + + - + + + - + + + - Apple Numbers + Data Interchange Format - application/x-iwork-numbers-sffnumbers + DIF - numbers + None (dif) - Calc 6.0 + HTML Document (Calc) - application/vnd.sun.xml.calc + HTML (StarCalc) - sxc + text/html (html xhtml htm) - Calc 6.0 Template + Flat XML ODF Spreadsheet - application/vnd.sun.xml.calc.template + OpenDocument Spreadsheet Flat XML - stc + application/vnd.oasis.opendocument.spreadsheet-flat-xml (fods ods xml) - Calc 8 + Lotus 1-2-3 - application/vnd.oasis.opendocument.spreadsheet + Lotus - ods + application/vnd.lotus-1-2-3 (wk1 wks 123) - Calc 8 Template + Quattro Pro 6.0 - application/vnd.oasis.opendocument.spreadsheet-template + Quattro Pro 6.0 - ots + None (wb2) - ClarisResolve Document + Microsoft Excel 4.0 - application/clarisworks + MS Excel 4.0 - cwk + application/vnd.ms-excel (xls xlw xlc xlm) - ClarisWorks/AppleWorks Document + Microsoft Excel 4.0 Template - application/clarisworks + MS Excel 4.0 Vorlage/Template - cwk + application/vnd.ms-excel (xlt) - Data Interchange Format + Microsoft Excel 5.0 - None + MS Excel 5.0/95 - dif + application/vnd.ms-excel (xls xlc xlm xlw) - Excel 2007–365 + Microsoft Excel 5.0 Template - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + MS Excel 5.0/95 Vorlage/Template - xlsx + application/vnd.ms-excel (xlt) - Excel 2007–365 Template + Microsoft Excel 95 - application/vnd.openxmlformats-officedocument.spreadsheetml.template + MS Excel 95 - xltx xltm + application/vnd.ms-excel (xls xlc xlm xlw) - Excel 97–2000 Template + Microsoft Excel 95 Template - application/vnd.ms-excel + MS Excel 95 Vorlage/Template - xlt ett + application/vnd.ms-excel (xlt) - Excel 97–2003 + Excel 97–2003 - application/vnd.ms-excel + MS Excel 97 - xls xlc xlm xlw xlk et + application/vnd.ms-excel (xls xlc xlm xlw xlk et) - Gnumeric Spreadsheet + Excel 97–2003 Template - application/x-gnumeric + MS Excel 97 Vorlage/Template - gnumeric gnm + application/vnd.ms-excel (xlt ett) - HTML Document + Rich Text Format (Calc) - text/html + Rich Text Format (StarCalc) - html xhtml htm + application/rtf (rtf) - HTML Table + SYLK - text/html + SYLK - xls + text/spreadsheet (slk sylk) - Legacy Mac Database + OpenOffice.org 1.0 Spreadsheet - None + StarOffice XML (Calc) - * + application/vnd.sun.xml.calc (sxc) - Legacy Mac Spreadsheet + Text CSV - None + Text - txt - csv (StarCalc) - * + text/plain (csv tsv tab txt) - Legacy StarOffice Spreadsheet + Web Page Query (Calc) - None + calc_HTML_WebQuery - sdc + text/html (html xhtml htm) - Lotus + OpenOffice.org 1.0 Spreadsheet Template - application/vnd.lotus-1-2-3 + calc_StarOffice_XML_Calc_Template - wk1 wks 123 + application/vnd.sun.xml.calc.template (stc) - Lotus Wk1-Wk3 + PDF - Portable Document Format - None + calc_pdf_Export - wk1 wk3 wk4 123 + application/pdf (pdf) - MS Excel 4.0 Template + dBASE - application/vnd.ms-excel + dBase - xlt + None (dbf) - MS Excel 5.0 Template + ODF Spreadsheet - application/vnd.ms-excel + calc8 - xlt + application/vnd.oasis.opendocument.spreadsheet (ods) - MS Excel 95 Template + ODF Spreadsheet Template - application/vnd.ms-excel + calc8_template - xlt + application/vnd.oasis.opendocument.spreadsheet-template (ots) - Microsoft Excel 2007 Binary + Gnumeric Spreadsheet - None + Gnumeric Spreadsheet - xlsb + application/x-gnumeric (gnumeric gnm) - Microsoft Excel 2007-2016 VBA XML + Excel 2007–365 - application/vnd.ms-excel.sheet.macroEnabled.12 + Calc MS Excel 2007 XML - xlsm + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx) - Microsoft Excel 4.0 + Excel 2007–365 (macro-enabled) - application/vnd.ms-excel + Calc MS Excel 2007 VBA XML - xls xlw xlc xlm + application/vnd.ms-excel.sheet.macroEnabled.12 (xlsm) - Microsoft Excel 5.0 + Excel 2007–365 Template - application/vnd.ms-excel + Calc MS Excel 2007 XML Template - xls xlc xlm xlw + application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm) - Microsoft Excel 95 + Microsoft Excel 2007 Binary - application/vnd.ms-excel + Calc MS Excel 2007 Binary - xls xlc xlm xlw + None (xlsb) - Microsoft Multiplan + Office Open XML Spreadsheet - None + Calc Office Open XML - mp + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx xlsm) - Microsoft Works Document + Office Open XML Spreadsheet Template - None + Calc Office Open XML Template - wks wdb + application/vnd.openxmlformats-officedocument.spreadsheetml.template (xltx xltm) - Microsoft Works for Mac Document (v1 - v4) + Microsoft Works Document - application/vnd.ms-works + MS_Works_Calc - wps + None (wks wdb) - Office Open XML Spreadsheet + Lotus Document - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + WPS_Lotus_Calc - xlsx xlsm + None (wk1 wk3 wk4 123) - Office Open XML Spreadsheet Template + QuattroPro Document - application/vnd.openxmlformats-officedocument.spreadsheetml.template + WPS_QPro_Calc - xltx xltm + None (wb1 wb2 wq1 wq2) - OpenDocument Spreadsheet (Flat XML) + ClarisWorks/AppleWorks Spreadsheet - application/vnd.oasis.opendocument.spreadsheet-flat-xml + ClarisWorks_Calc - fods ods xml + application/clarisworks (cwk) - PDF - Portable Document Format + ClarisResolve Document - application/pdf + Claris_Resolve_Calc - pdf + application/clarisworks (cwk) - Quattro Pro 6.0 + Microsoft Works for Mac Spreadsheet (v1 - v4) - None + Mac_Works_Calc - wb2 + application/vnd.ms-works (wps) - QuattroPro Document + Apple Numbers - None + Apple Numbers - wb1 wb2 wq1 wq2 + application/x-iwork-numbers-sffnumbers (numbers) - Rich Text Format + Legacy Mac Database - application/rtf + MWAW_Database - rtf + None (*) - SYLK + Legacy Mac Spreadsheet - text/spreadsheet + MWAW_Spreadsheet - slk sylk + None (*) - Text + Legacy StarOffice Spreadsheet - text/plain + StarOffice_Spreadsheet - csv tsv tab txt + None (sdc) - dBASE + Microsoft Multiplan - None + Microsoft Multiplan - dbf + None (mp)
- -command line document conversion; filters for IMPRESS - -

Filters for IMPRESS

- + + command line document conversion; filters for IMPRESS + +

Filters for IMPRESS

+
- + + + - + + + - + + + - Apple Keynote + Apple Keynote - application/x-iwork-keynote-sffkey + Apple Keynote - key + application/x-iwork-keynote-sffkey (key) - ClarisWorks/AppleWorks Presentation + PowerPoint 97–2003 - application/clarisworks + MS PowerPoint 97 - cwk + application/vnd.ms-powerpoint (ppt dps) - Draw 8 + PowerPoint 97–2003 AutoPlay - application/vnd.oasis.opendocument.graphics + MS PowerPoint 97 AutoPlay - odg + application/vnd.ms-powerpoint (pps) - Impress 6.0 Template + PowerPoint 97–2003 Template - application/vnd.sun.xml.impress.template + MS PowerPoint 97 Vorlage - sti + application/vnd.ms-powerpoint (pot dpt) - Impress 8 + OpenOffice.org 1.0 Drawing (Impress) - application/vnd.oasis.opendocument.presentation + impress_StarOffice_XML_Draw - odp + application/vnd.sun.xml.draw (sxd) - Impress 8 Template + Flat XML ODF Presentation - application/vnd.oasis.opendocument.presentation-template + OpenDocument Presentation Flat XML - otp + application/vnd.oasis.opendocument.presentation-flat-xml (fodp odp xml) - Legacy Mac Presentation + OpenOffice.org 1.0 Presentation - None + StarOffice XML (Impress) - * + application/vnd.sun.xml.impress (sxi) - Legacy StarOffice Presentation + OpenOffice.org 1.0 Presentation Template - None + impress_StarOffice_XML_Impress_Template - sdd + application/vnd.sun.xml.impress.template (sti) - Microsoft PowerPoint 1-4 + PDF - Portable Document Format - None + impress_pdf_Export - ppt pot + application/pdf (pdf) - Office Open XML Presentation + ODF Presentation - application/vnd.openxmlformats-officedocument.presentationml.presentation + impress8 - pptx pptm + application/vnd.oasis.opendocument.presentation (odp) - Office Open XML Presentation AutoPlay + ODF Presentation Template - application/vnd.openxmlformats-officedocument.presentationml.slideshow + impress8_template - ppsx + application/vnd.oasis.opendocument.presentation-template (otp) - Office Open XML Presentation Template + ODF Drawing (Impress) - application/vnd.openxmlformats-officedocument.presentationml.template + impress8_draw - potx potm + application/vnd.oasis.opendocument.graphics (odg) - OpenDocument Presentation (Flat XML) + PowerPoint 2007–365 - application/vnd.oasis.opendocument.presentation-flat-xml + Impress MS PowerPoint 2007 XML - fodp odp xml + application/vnd.openxmlformats-officedocument.presentationml.presentation (pptx) - OpenOffice.org 1.0 Drawing + PowerPoint 2007–365 AutoPlay - application/vnd.sun.xml.draw + Impress MS PowerPoint 2007 XML AutoPlay - sxd + application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx) - OpenOffice.org 1.0 Presentation + PowerPoint 2007–365 Template - application/vnd.sun.xml.impress + Impress MS PowerPoint 2007 XML Template - sxi + application/vnd.openxmlformats-officedocument.presentationml.template (potx potm) - PDF - Portable Document Format + PowerPoint 2007–365 VBA - application/pdf + Impress MS PowerPoint 2007 XML VBA - pdf + application/vnd.ms-powerpoint.presentation.macroEnabled.main+xml (pptm) - PowerPoint 2007–365 + Office Open XML Presentation - application/vnd.openxmlformats-officedocument.presentationml.presentation + Impress Office Open XML - pptx + application/vnd.openxmlformats-officedocument.presentationml.presentation (pptx pptm) - PowerPoint 2007–365 + Office Open XML Presentation Template - application/vnd.openxmlformats-officedocument.presentationml.slideshow + Impress Office Open XML Template - ppsx + application/vnd.openxmlformats-officedocument.presentationml.template (potx potm) - PowerPoint 2007–365 Template + Office Open XML Presentation AutoPlay - application/vnd.openxmlformats-officedocument.presentationml.template + Impress Office Open XML AutoPlay - potx potm + application/vnd.openxmlformats-officedocument.presentationml.slideshow (ppsx) - PowerPoint 2007–365 VBA + ClarisWorks/AppleWorks Presentation - application/vnd.ms-powerpoint.presentation.macroEnabled.main+xml + ClarisWorks_Impress - pptm + application/clarisworks (cwk) - PowerPoint 97–2000 Template + Legacy StarOffice Presentation - application/vnd.ms-powerpoint + StarOffice_Presentation - pot dpt + None (sdd) - PowerPoint 97–2003 + Legacy Mac Presentation - application/vnd.ms-powerpoint + MWAW_Presentation - ppt dps + None (*) - PowerPoint 97–2003 + Microsoft PowerPoint 1-4 and 95's - application/vnd.ms-powerpoint + PowerPoint 3 - pps + None (ppt pot)
- -command line document conversion; filters for DRAW - -

Filters for DRAW

- + + command line document conversion; filters for DRAW + +

Filters for DRAW

+
- + + + - + + + - + + + - Adobe PageMaker + Flat XML ODF Drawing - application/x-pagemaker + OpenDocument Drawing Flat XML - p65 pm pm6 pmd + application/vnd.oasis.opendocument.graphics-flat-xml (fodg odg xml) - Adobe/Macromedia Freehand + OpenOffice.org 1.0 Drawing - image/x-freehand + StarOffice XML (Draw) - fh fh1 fh2 fh3 fh4 fh5 fh6 fh7 fh8 fh9 fh10 fh11 + application/vnd.sun.xml.draw (sxd) - ClarisWorks/AppleWorks Document + OpenOffice.org 1.0 Drawing Template - application/clarisworks + draw_StarOffice_XML_Draw_Template - cwk + application/vnd.sun.xml.draw.template (std) - CorelDRAW + PDF - Portable Document Format - application/vnd.corel-draw + draw_pdf_Export - cdr + application/pdf (pdf) - Corel Presentation Exchange + ODF Drawing - image/x-cmx + draw8 - cmx + application/vnd.oasis.opendocument.graphics (odg) - Draw 6.0 Template + ODF Drawing Template - application/vnd.sun.xml.draw.template + draw8_template - std + application/vnd.oasis.opendocument.graphics-template (otg) - Draw 8 + WordPerfect Graphics - application/vnd.oasis.opendocument.graphics + WordPerfect Graphics - odg + image/x-wpg (wpg) - Draw 8 Template + Microsoft Visio 2000-2013 - application/vnd.oasis.opendocument.graphics-template + Visio Document - otg + application/vnd.visio (vdx vsd vsdm vsdx) - Legacy Mac Bitmap + Microsoft Publisher 98-2010 - None + Publisher Document - * + application/x-mspublisher (pub) - Legacy Mac Drawing + Corel Draw - None + Corel Draw Document - * + application/vnd.corel-draw (cdr) - Legacy StarOffice Drawing + Corel Presentation Exchange - None + Corel Presentation Exchange - sda + image/x-cmx (cmx) - Microsoft Publisher 2003 + Adobe/Macromedia Freehand - application/x-mspublisher + Freehand Document - pub + image/x-freehand (fh fh1 fh2 fh3 fh4 fh5 fh6 fh7 fh8 fh9 fh10 fh11) - Microsoft Visio + ClarisWorks/AppleWorks Drawing - application/vnd.visio + ClarisWorks_Draw - vdx vsd vsdm vsdx + application/clarisworks (cwk) - OpenDocument Drawing (Flat XML) + Adobe PageMaker - application/vnd.oasis.opendocument.graphics-flat-xml + PageMaker Document - fodg odg xml + application/x-pagemaker (p65 pm pm6 pmd) - OpenOffice.org 1.0 Drawing + QuarkXPress - application/vnd.sun.xml.draw + QXP Document - sxd + None (qxd qxt) - PDF - Portable Document Format + Zoner Callisto/Draw - application/pdf + ZMF Document - pdf + None (zmf) - QuarkXPress + Legacy Mac Bitmap - None + MWAW_Bitmap - qxd qxt + None (*) - WordPerfect Graphics + Legacy Mac Drawing - image/x-wpg + MWAW_Drawing - wpg + None (*) - Zoner Callisto/Draw + Legacy StarOffice Drawing - None + StarOffice_Drawing - zmf + None (sda)
- -command line document conversion; filters for MATH - -

Filters for MATH

- + + command line document conversion; filters for MATH + +

Filters for MATH

+
- + + + - + + + - + + + - Math 8 + MathML 2.0 - application/vnd.oasis.opendocument.formula + MathML XML (Math) - odf + application/mathml+xml (mml) - MathML 2.0 + MathType3.x - application/mathml+xml + MathType 3.x - mml + None (xxx) - MathType3.x + OpenOffice.org 1.0 Formula - None + StarOffice XML (Math) - xxx + application/vnd.sun.xml.math (sxm) - OpenOffice.org 1.0 Formula + PDF - Portable Document Format - application/vnd.sun.xml.math + math_pdf_Export - sxm + application/pdf (pdf) - PDF - Portable Document Format + ODF Formula - application/pdf + math8 - pdf + application/vnd.oasis.opendocument.formula (odf)
- -command line document conversion; filters for BASE - -

Filters for BASE

- + + command line document conversion; filters for BASE + +

Filters for BASE

+
- + + + - + + + - + + + - OpenDocument Database + ODF Database - application/vnd.sun.xml.base + StarOffice XML (Base) - odb + application/vnd.sun.xml.base (odb)
- -command line document conversion; filters for GRAPHICFILTER - -

Filters for GRAPHICFILTER

- - - - - - - - - - - - - - - BMP - Windows Bitmap - - - image/x-MS-bmp - - - bmp - - - - - CGM - Computer Graphics Metafile - - - image/cgm - - - cgm - - - - - DXF - AutoCAD Interchange Format - - - image/vnd.dxf - - - dxf - - - - - EMF - Enhanced Meta File - - - image/x-emf - - - emf - - - - - EPS - Encapsulated PostScript - - - image/x-eps - - - eps - - - - - GIF - Graphics Interchange - - - image/gif - - - gif - - - - - HTML - - - text/html - - - html htm - - - - - JPEG - Joint Photographic Experts Group - - - image/jpeg - - - jpg jpeg jfif jif jpe - - - - - MET - OS/2 Metafile - - - image/x-met - - - met - - - - - MOV - QuickTime File Format - - - application/movie - - - mov MOV - - - - - PBM - Portable Bitmap - - - image/x-portable-bitmap - - - pbm - - - - - PCD - Photo CD Base - - - image/x-photo-cd - - - pcd - - - - - PCD - Photo CD Base16 - - - image/x-photo-cd - - - pcd - - - - - PCD - Photo CD Base4 - - - image/x-photo-cd - - - pcd - - - - - PCT - Mac Pict - - - image/x-pict - - - pct pict - - - - - PCX - Zsoft Paintbrush - - - image/x-pcx - - - pcx - - - - - PGM - Portable Graymap - - - image/x-portable-graymap - - - pgm - - - - - PNG - Portable Network Graphic - - - image/png - - - png - - - - - PPM - Portable Pixelmap - - - image/x-portable-pixmap - - - ppm - - - - - PSD - Adobe Photoshop - - - image/vnd.adobe.photoshop - - - psd - - - - - RAS - Sun Raster Image - - - image/x-cmu-raster - - - ras - - - - - SVG - Scalable Vector Graphics - - - image/svg+xml - - - svg svgz - - - - - SVG - Scalable Vector Graphics Draw - - - image/svg+xml - - - svg svgz - - - - - SVG - Scalable Vector Graphics Draw - - - image/svg+xml - - - svg svgz - - - - - SVM - StarView Meta File - - - image/x-svm - - - svm - - - - - TGA - Truevision Targa - - - image/x-targa - - - tga - - + + command line document conversion; filters for GRAPHICFILTER + +

Filters for GRAPHICFILTER

+
- TIFF - Tagged Image File Format + + + - image/tiff + + + - tif tiff + + + - WMF - Windows Metafile + JPEG - Joint Photographic Experts Group - image/x-wmf + writer_jpg_Export - wmf + image/jpeg (jpg jpeg jfif jif jpe) - XBM - X Bitmap + PNG - Portable Network Graphic - image/x-xbitmap + writer_png_Export - xbm + image/png (png) - XPM - X PixMap + SVG - Scalable Vector Graphics - image/x-xpixmap + writer_svg_Export - xpm + image/svg+xml (svg svgz)
-
+ \ No newline at end of file -- cgit