diff options
author | Sean Young <sean@mess.org> | 2016-01-14 20:13:45 +0000 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-01-18 07:43:22 +0000 |
commit | 264c398888c591846d1c714851d2d571fbd041cf (patch) | |
tree | ba6fb88189b9cf820fb2efb97b93dfe6f77e91ae /sysui | |
parent | b09b496b9f1713581d1a54e88e6cfd6565c43a2b (diff) |
Set file association for MS Write files on linux and Mac
Other mime types used for MS Write are application/x-wri,
application/mswrite and application/wri. I think these were
pretty rare though.
Change-Id: I2bf48ab7a2fb1d979db38774ae0547c5ab6040d4
Reviewed-on: https://gerrit.libreoffice.org/21552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sysui')
-rwxr-xr-x | sysui/desktop/debian/postinst | 1 | ||||
-rwxr-xr-x | sysui/desktop/macosx/Info.plist.in | 24 | ||||
-rw-r--r-- | sysui/desktop/menus/writer.desktop | 2 |
3 files changed, 26 insertions, 1 deletions
diff --git a/sysui/desktop/debian/postinst b/sysui/desktop/debian/postinst index b9b6f24426f1..715403fbaffc 100755 --- a/sysui/desktop/debian/postinst +++ b/sysui/desktop/debian/postinst @@ -176,6 +176,7 @@ application/x-wordperfect; %PREFIX -view %s application/wordperfect; %PREFIX -view %s application/vnd.lotus-wordpro; %PREFIX -view %s application/wpwin; %PREFIX -view %s +application/x-mswrite; %PREFIX -view %s application/vnd.openofficeorg.extension; %PREFIX %s END diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in index 604a3568152b..bd10c26b2ed7 100755 --- a/sysui/desktop/macosx/Info.plist.in +++ b/sysui/desktop/macosx/Info.plist.in @@ -1142,6 +1142,29 @@ <string>public.content</string> </array> <key>UTTypeDescription</key> + <string>Microsoft Write</string> + <key>UTTypeIdentifier</key> + <string>org.libreoffice.wri-document</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>wri</string> + </array> + <key>public.mime-type</key> + <array> + <string>application/x-mswrite</string> + </array> + </dict> + </dict> + + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + <string>public.content</string> + </array> + <key>UTTypeDescription</key> <string>Data Interchange Format</string> <key>UTTypeIdentifier</key> <string>org.libreoffice.dif-document</string> @@ -1782,6 +1805,7 @@ <string>org.libreoffice.wpd-document</string> <string>org.libreoffice.hwp-document</string> <string>org.libreoffice.wks-document</string> + <string>org.libreoffice.wri-document</string> <string>org.libreoffice.dif-document</string> <string>org.libreoffice.slk-document</string> <string>org.libreoffice.csv-document</string> diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop index 1df1b49f493f..68ec858238df 100644 --- a/sysui/desktop/menus/writer.desktop +++ b/sysui/desktop/menus/writer.desktop @@ -22,7 +22,7 @@ Icon=writer Type=Application Categories=Office;WordProcessor;X-Red-Hat-Base;X-MandrivaLinux-Office-Wordprocessors; Exec=${UNIXBASISROOTNAME} --writer %%FILE%% -MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;application/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword;application/x-iwork-pages-sffpages; +MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;application/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword;application/x-iwork-pages-sffpages;application/x-mswrite; Name=%PRODUCTNAME Writer GenericName=Word Processor Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer. |