--- a/src/cm/views/export.py Tue May 15 11:16:46 2012 +0200
+++ b/src/cm/views/export.py Tue May 15 12:12:41 2012 +0200
@@ -15,6 +15,8 @@
'pdf' : {'mimetype': 'application/pdf', 'extension':'pdf'},
'markdown' : {'mimetype': 'text/plain', 'extension':'mkd'},
'odt' : {'mimetype': 'application/vnd.oasis.opendocument.text', 'extension':'odt'},
+'doc' : {'mimetype': 'application/msword', 'extension':'doc'},
+'docx' : {'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'extension':'docx'},
'latex' :{'mimetype': 'text/x-tex', 'extension':'tex'},
'html' :{'mimetype': 'text/html', 'extension':'html'},
# raw export
@@ -143,6 +145,8 @@
'pdf' : [True , 'application/pdf' , 'pdf'],
'markdown' : [True , 'text/plain' , 'mkd'],
'odt' : [True , 'application/vnd.oasis.opendocument.text', 'odt'],
+'doc' : [True , 'application/msword', 'odt'],
+'docx' : [True , 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'docx'],
'latex' :[True , 'text/x-tex', 'tex'],
'html' :[True , 'text/html', 'html'],
# raw export