]> andersk Git - scripts-static-cat.git/commitdiff
static-cat: Add all MS Office (including OOXML) and ODF types master
authorGeoffrey Thomas <geofft@mit.edu>
Tue, 7 Jun 2011 16:23:31 +0000 (16:23 +0000)
committerGeoffrey Thomas <geofft@mit.edu>
Tue, 7 Jun 2011 16:23:31 +0000 (16:23 +0000)
StaticCat.hs

index 0709fb910fd7336d9cfd24f3361faf645f061e66..456e6c13f116416af1715c970c3cadc455440b84 100644 (file)
@@ -34,6 +34,11 @@ types = M.fromList [
          (".avi", "video/x-msvideo"),
          (".css", "text/css"),
          (".doc", "application/msword"),
+         (".docm", "application/vnd.ms-word.document.macroEnabled.12"),
+         (".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"),
+         (".dot", "application/msword"),
+         (".dotm", "application/vnd.ms-word.template.macroEnabled.12"),
+         (".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"),
          (".gif", "image/gif"),
          (".htm", "text/html"),
          (".html", "text/html"),
@@ -49,10 +54,34 @@ types = M.fromList [
          (".mp3", "audio/mpeg"),
          (".mpeg", "video/mpeg"),
          (".mpg", "video/mpeg"),
+         (".odb", "application/vnd.oasis.opendocument.database"),
+         (".odc", "application/vnd.oasis.opendocument.chart"),
+         (".odf", "application/vnd.oasis.opendocument.formula"),
+         (".odg", "application/vnd.oasis.opendocument.graphics"),
+         (".odi", "application/vnd.oasis.opendocument.image"),
+         (".odm", "application/vnd.oasis.opendocument.text-master"),
+         (".odp", "application/vnd.oasis.opendocument.presentation"),
+         (".ods", "application/vnd.oasis.opendocument.spreadsheet"),
+         (".odt", "application/vnd.oasis.opendocument.text"),
          (".otf", "application/octet-stream"),
+         (".otg", "application/vnd.oasis.opendocument.graphics-template"),
+         (".oth", "application/vnd.oasis.opendocument.text-web"),
+         (".otp", "application/vnd.oasis.opendocument.presentation-template"),
+         (".ots", "application/vnd.oasis.opendocument.spreadsheet-template"),
+         (".ott", "application/vnd.oasis.opendocument.text-template"),
          (".pdf", "application/pdf"),
          (".png", "image/png"),
+         (".pot", "application/vnd.ms-powerpoint"),
+         (".potm", "application/vnd.ms-powerpoint.template.macroEnabled.12"),
+         (".potx", "application/vnd.openxmlformats-officedocument.presentationml.template"),
+         (".ppa", "application/vnd.ms-powerpoint"),
+         (".ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"),
+         (".pps", "application/vnd.ms-powerpoint"),
+         (".ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),
+         (".ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"),
          (".ppt", "application/vnd.ms-powerpoint"),
+         (".pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"),
+         (".pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"),
          (".ps", "application/postscript"),
          (".svg", "image/svg+xml"),
          (".swf", "application/x-shockwave-flash"),
@@ -66,7 +95,15 @@ types = M.fromList [
          (".xaml", "application/xaml+xml"),
          (".xap", "application/x-silverlight-app"),
          (".xhtml", "application/xhtml+xml"),
+         (".xla", "application/vnd.ms-excel"),
+         (".xlam", "application/vnd.ms-excel.addin.macroEnabled.12"),
          (".xls", "application/vnd.ms-excel"),
+         (".xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"),
+         (".xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"),
+         (".xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),
+         (".xlt", "application/vnd.ms-excel"),
+         (".xltm", "application/vnd.ms-excel.template.macroEnabled.12"),
+         (".xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"),
          (".xml", "text/xml"),
          (".xsl", "text/xml"),
          (".zip", "application/zip")
This page took 0.171572 seconds and 5 git commands to generate.