summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Castellano <pablo@anche.no>2020-05-01 15:32:07 +0200
committerPablo Castellano <pablo@anche.no>2020-05-01 15:32:07 +0200
commit0eae23c435b9feee4cfd1e19d9e53327e3c22ed7 (patch)
tree60c0454f82943ef1a83f435f71f1fa69c615609c
parentce0f63d0b223cfbd894efd9f931aa880c22a3199 (diff)
Add mimetypes for documents
-rw-r--r--src/htslib.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/htslib.c b/src/htslib.c
index 92c7d44..a73cbe1 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -457,6 +457,28 @@ const char *hts_mime[][2] = {
{"application/vnd.ms-works", "wdb"},
{"application/vnd.ms-works", "wks"},
{"application/vnd.ms-works", "wps"},
+ {"application/vnd.oasis.opendocument.chart", "odc"},
+ {"application/vnd.oasis.opendocument.database", "odb"},
+ {"application/vnd.oasis.opendocument.formula", "odf"},
+ {"application/vnd.oasis.opendocument.graphics", "odg"},
+ {"application/vnd.oasis.opendocument.graphics-template", "otg"},
+ {"application/vnd.oasis.opendocument.image", "odi"},
+ {"application/vnd.oasis.opendocument.presentation", "odp"},
+ {"application/vnd.oasis.opendocument.presentation-template", "otp"},
+ {"application/vnd.oasis.opendocument.spreadsheet", "ods"},
+ {"application/vnd.oasis.opendocument.spreadsheet-template", "ots"},
+ {"application/vnd.oasis.opendocument.text", "odt"},
+ {"application/vnd.oasis.opendocument.text-master", "odm"},
+ {"application/vnd.oasis.opendocument.text-template", "ott"},
+ {"application/vnd.oasis.opendocument.text-web", "oth"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.presentation", "pptx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.slide", "sldx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.slideshow", "ppsx"},
+ {"application/vnd.openxmlformats-officedocument.presentationml.template", "potx"},
+ {"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "xlsx"},
+ {"application/vnd.openxmlformats-officedocument.spreadsheetml.template", "xltx"},
+ {"application/vnd.openxmlformats-officedocument.wordprocessingml.document", "docx"},
+ {"application/vnd.openxmlformats-officedocument.wordprocessingml.template", "dotx"},
{"application/x-compress", "z"},
{"application/x-compressed", "tgz"},
{"application/x-internet-signup", "ins"},