Commit 8128da1a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

these document services are not supported for now.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb1a3bd9
......@@ -137,6 +137,12 @@ class MimeMapper(object):
continue
preferred = filter_type_dict.get("Preferred")
document_service_str = value.get('DocumentService')
# these document services are not supported for now.
if document_service_str in (
'com.sun.star.text.GlobalDocument',
'com.sun.star.formula.FormulaProperties',
'com.sun.star.sdb.OfficeDatabaseDocument'):
continue
sort_index = flag
doc_type = document_service_str.split('.')[-1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment