[Erp5-report] r42478 kazuhiko - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 19 18:13:26 CET 2011


Author: kazuhiko
Date: Wed Jan 19 18:13:25 2011
New Revision: 42478

URL: http://svn.erp5.org?rev=42478&view=rev
Log:
these document services are not supported for now.

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py?rev=42478&r1=42477&r2=42478&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/mimemapper.py [utf8] Wed Jan 19 18:13:25 2011
@@ -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]



More information about the Erp5-report mailing list