From 0eae23c435b9feee4cfd1e19d9e53327e3c22ed7 Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Fri, 1 May 2020 15:32:07 +0200 Subject: Add mimetypes for documents --- src/htslib.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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"}, -- cgit v1.2.3