[Erp5-report] r21032 - /erp5/trunk/utils/oood/mimemapper.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 20 14:41:27 CEST 2008


Author: nicolas
Date: Tue May 20 14:41:26 2008
New Revision: 21032

URL: http://svn.erp5.org?rev=21032&view=rev
Log:
Change docstring typo, "html" is same as "writer.html"

Modified:
    erp5/trunk/utils/oood/mimemapper.py

Modified: erp5/trunk/utils/oood/mimemapper.py
URL: http://svn.erp5.org/erp5/trunk/utils/oood/mimemapper.py?rev=21032&r1=21031&r2=21032&view=diff
==============================================================================
--- erp5/trunk/utils/oood/mimemapper.py (original)
+++ erp5/trunk/utils/oood/mimemapper.py Tue May 20 14:41:26 2008
@@ -35,13 +35,18 @@
 from com.sun.star.beans import PropertyValue
 
 class MimeMapper:
+  """
+  list of supported extensions (keys in property_map)
+  testing information:
+  the first character tells if generation to the given format has been tested:
+    (-) not tested
+    (P) Passed
+    (F) Failed
+  the second tells if the output was verified and what was the result
+  More information at http://wiki.services.openoffice.org/wiki/Framework/Article/Filter/FilterList_OOo_2_1
+  """
 
   document_type_dict = {}
-
-  # list of supported extensions (keys in property_map)
-  # testing information:
-  # the first character tells if generation to the given format has been tested: (-) not tested, (P)assed, (F)ailed
-  # the second tells if the output was verified and what was the result
 
   document_type_dict['text'] = [
      'odt', # P P
@@ -274,10 +279,9 @@
       'label':'HTML Document (OpenOffice.org Writer)',
     },
     'html':{
-      'mime_type':('application/vnd.oasis.opendocument.text-web',),
-      'outprops':(PropertyValue("FilterName" , 0, "HTML ", 0),
-                  PropertyValue("Overwrite", 0, True, 0)),
-      'label':'HTML Document (OpenDocument Text)',
+      'mime_type':('text/html',),
+      'outprops':(PropertyValue("FilterName",0,"HTML (StarWriter)",0),PropertyValue("Overwrite",0,True,0)),
+      'label':'HTML Document (OpenOffice.org Writer)',
     },
     'pdb':{
       'mime_type':('unknown',),




More information about the Erp5-report mailing list