Commit 5b2b4c13 authored by Rafael Monnerat's avatar Rafael Monnerat

Update mimetypes list

After several updates of libreoffice the list had some changes due the
new version of libreoffice binary.
parent db1f6bfa
...@@ -33,9 +33,10 @@ from cloudooo.handler.ooo.mimemapper import MimeMapper ...@@ -33,9 +33,10 @@ from cloudooo.handler.ooo.mimemapper import MimeMapper
text_expected_tuple = ( text_expected_tuple = (
('doc', 'Microsoft Word 6.0'), ('doc', 'Microsoft Word 6.0'),
('doc', 'Microsoft Word 95'), ('doc', 'Microsoft Word 95'),
('doc', 'Microsoft Word 97/2000/XP'), ('doc', 'Microsoft Word 97/2000/XP/2003'),
('docx', 'Microsoft Word 2007 XML'), ('docx', 'Microsoft Word 2007 XML'),
('docx', 'Office Open XML Text'), ('docx', 'Office Open XML Text'),
('docx', 'Microsoft Word 2007/2010 XML'),
('html', 'HTML Document (OpenOffice.org Writer)'), ('html', 'HTML Document (OpenOffice.org Writer)'),
('html', 'XHTML'), ('html', 'XHTML'),
('odt', 'ODF Text Document'), ('odt', 'ODF Text Document'),
...@@ -87,9 +88,6 @@ web_expected_tuple = ( ...@@ -87,9 +88,6 @@ web_expected_tuple = (
('html', 'HTML Document'), ('html', 'HTML Document'),
('odt', 'OpenOffice.org Text (OpenOffice.org Writer/Web)'), ('odt', 'OpenOffice.org Text (OpenOffice.org Writer/Web)'),
('pdf', 'PDF - Portable Document Format'), ('pdf', 'PDF - Portable Document Format'),
('sdw', 'StarWriter 3.0 (OpenOffice.org Writer/Web)'),
('sdw', 'StarWriter 4.0 (OpenOffice.org Writer/Web)'),
('sdw', 'StarWriter 5.0 (OpenOffice.org Writer/Web)'),
('sxw', 'OpenOffice.org 1.0 Text Document (OpenOffice.org Writer/Web)'), ('sxw', 'OpenOffice.org 1.0 Text Document (OpenOffice.org Writer/Web)'),
('txt', 'Text (OpenOffice.org Writer/Web)'), ('txt', 'Text (OpenOffice.org Writer/Web)'),
('txt', 'Text Encoded (OpenOffice.org Writer/Web)'), ('txt', 'Text Encoded (OpenOffice.org Writer/Web)'),
...@@ -112,10 +110,11 @@ presentation_expected_tuple = ( ...@@ -112,10 +110,11 @@ presentation_expected_tuple = (
('pdf', 'PDF - Portable Document Format'), ('pdf', 'PDF - Portable Document Format'),
('pgm', 'PGM - Portable Graymap'), ('pgm', 'PGM - Portable Graymap'),
('png', 'PNG - Portable Network Graphic'), ('png', 'PNG - Portable Network Graphic'),
('pot', 'Microsoft PowerPoint 97/2000/XP Template'), ('pot', 'Microsoft PowerPoint 97/2000/XP/2003 Template'),
('ppm', 'PPM - Portable Pixelmap'), ('ppm', 'PPM - Portable Pixelmap'),
('pps', 'Microsoft PowerPoint 97/2000/XP'), ('pps', 'Microsoft PowerPoint 97/2000/XP/2003'),
('ppt', 'Microsoft PowerPoint 97/2000/XP'), ('pps', 'Microsoft PowerPoint 97/2000/XP/2003 AutoPlay'),
('ppt', 'Microsoft PowerPoint 97/2000/XP/2003'),
('ras', 'RAS - Sun Raster Image'), ('ras', 'RAS - Sun Raster Image'),
('sda', 'StarDraw 5.0 (OpenOffice.org Impress)'), ('sda', 'StarDraw 5.0 (OpenOffice.org Impress)'),
('sdd', 'StarDraw 3.0 (OpenOffice.org Impress)'), ('sdd', 'StarDraw 3.0 (OpenOffice.org Impress)'),
...@@ -139,15 +138,16 @@ spreadsheet_expected_list = ( ...@@ -139,15 +138,16 @@ spreadsheet_expected_list = (
('sdc', 'StarCalc 3.0'), ('sdc', 'StarCalc 3.0'),
('sdc', 'StarCalc 4.0'), ('sdc', 'StarCalc 4.0'),
('sdc', 'StarCalc 5.0'), ('sdc', 'StarCalc 5.0'),
('slk', 'SYLK'),
('sxc', 'OpenOffice.org 1.0 Spreadsheet'), ('sxc', 'OpenOffice.org 1.0 Spreadsheet'),
('xls', 'Microsoft Excel 5.0'), ('xls', 'Microsoft Excel 5.0'),
('xls', 'Microsoft Excel 95'), ('xls', 'Microsoft Excel 95'),
('xls', 'Microsoft Excel 97/2000/XP'), ('xls', 'Microsoft Excel 97/2000/XP/2003'),
('xlt', 'Microsoft Excel 5.0 Template'), ('xlt', 'Microsoft Excel 5.0 Template'),
('xlt', 'Microsoft Excel 95 Template'), ('xlt', 'Microsoft Excel 95 Template'),
('xlt', 'Microsoft Excel 97/2000/XP Template'), ('xlt', 'Microsoft Excel 97/2000/XP/2003 Template'),
('xlsx', 'Microsoft Excel 2007 XML'), ('xlsx', 'Microsoft Excel 2007/2010 XML'),
(u'xlsx', u'Office Open XML Spreadsheet'), ('xlsx', 'Office Open XML Spreadsheet'),
) )
math_expected_tuple = ( math_expected_tuple = (
......
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