summaryrefslogtreecommitdiff
path: root/freedesktop.org.xml.in
diff options
context:
space:
mode:
authorYan Pashkovsky <yanpaso@gmail.com>2015-10-05 18:58:41 +0300
committerBastien Nocera <hadess@hadess.net>2016-08-02 13:42:47 +0200
commite9b7d1202a13733b3dfb94ed234939d42f1ed465 (patch)
treefec4dacb9013f276391e7a5dead34e2c4cca7221 /freedesktop.org.xml.in
parent2deea044fa87ea2f2b824c86b05afb2b8dca7fbc (diff)
mimetypes added: pot,xlt; testfiles: xls,xlt,ppt,pot; alias for dot added; magic numbe for xls removed for invalidity
https://bugs.freedesktop.org/show_bug.cgi?id=92180
Diffstat (limited to 'freedesktop.org.xml.in')
-rw-r--r--freedesktop.org.xml.in23
1 files changed, 18 insertions, 5 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 513298d..6ca20b9 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -593,21 +593,24 @@ command to generate the output files.
<mime-type type="application/vnd.ms-excel">
<_comment>Excel spreadsheet</_comment>
<generic-icon name="x-office-spreadsheet"/>
- <magic priority="50">
- <match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
- </magic>
<glob pattern="*.xls"/>
<glob pattern="*.xlc"/>
<glob pattern="*.xll"/>
<glob pattern="*.xlm"/>
<glob pattern="*.xlw"/>
<glob pattern="*.xla"/>
- <glob pattern="*.xlt"/>
<glob pattern="*.xld"/>
<alias type="application/msexcel"/>
<alias type="application/x-msexcel"/>
<alias type="zz-application/zz-winassoc-xls"/>
</mime-type>
+ <mime-type type="application/vnd.ms-excel-template">
+ <_comment>Excel template</_comment>
+ <sub-class-of type="application/vnd.ms-excel"/>
+ <generic-icon name="x-office-spreadsheet"/>
+ <glob pattern="*.xlt"/>
+ <alias type="application/msexcel-template"/>
+ </mime-type>
<mime-type type="application/vnd.ms-excel.addin.macroEnabled.12">
<_comment>Excel add-in</_comment>
<generic-icon name="x-office-spreadsheet"/>
@@ -638,11 +641,20 @@ command to generate the output files.
<glob pattern="*.ppz"/>
<glob pattern="*.ppt"/>
<glob pattern="*.pps"/>
- <glob pattern="*.pot"/>
<alias type="application/powerpoint"/>
<alias type="application/mspowerpoint"/>
<alias type="application/x-mspowerpoint"/>
</mime-type>
+ <mime-type type="application/vnd.ms-powerpoint-template">
+ <_comment>PowerPoint template</_comment>
+ <sub-class-of type="application/vnd.ms-powerpoint"/>
+ <generic-icon name="x-office-presentation"/>
+ <magic priority="50">
+ <match type="string" value="\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" offset="0"/>
+ </magic>
+ <glob pattern="*.pot"/>
+ <alias type="application/mspowerpoint-template"/>
+ </mime-type>
<mime-type type="application/vnd.ms-powerpoint.addin.macroEnabled.12">
<_comment>PowerPoint add-in</_comment>
<generic-icon name="x-office-presentation"/>
@@ -774,6 +786,7 @@ command to generate the output files.
<sub-class-of type="application/msword"/>
<generic-icon name="x-office-document"/>
<glob pattern="*.dot"/>
+ <alias type="application/vnd.ms-word-template"/>
</mime-type>
<mime-type type="application/gml+xml">
<_comment>GML document</_comment>