Commit 72da52e871acdc7dc0f416f3eb5b5ffb317e2ea9
1 parent
a5b9358a
Removed support for Office 2007 documents, they may only be available in OpenOffice 3.
Committed by: Megan Watson
Showing
1 changed file
with
2 additions
and
0 deletions
plugins/pdfConverter/pdfConverter.php
| @@ -125,6 +125,7 @@ class pdfConverter extends BaseProcessor | @@ -125,6 +125,7 @@ class pdfConverter extends BaseProcessor | ||
| 125 | $mime_types[] = 'application/vnd.oasis.opendocument.spreadsheet'; | 125 | $mime_types[] = 'application/vnd.oasis.opendocument.spreadsheet'; |
| 126 | $mime_types[] = 'application/vnd.oasis.opendocument.spreadsheet-template'; | 126 | $mime_types[] = 'application/vnd.oasis.opendocument.spreadsheet-template'; |
| 127 | 127 | ||
| 128 | + /* OO3 | ||
| 128 | // Office 2007 | 129 | // Office 2007 |
| 129 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; | 130 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; |
| 130 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'; | 131 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'; |
| @@ -133,6 +134,7 @@ class pdfConverter extends BaseProcessor | @@ -133,6 +134,7 @@ class pdfConverter extends BaseProcessor | ||
| 133 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'; | 134 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'; |
| 134 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'; | 135 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'; |
| 135 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'; | 136 | $mime_types[] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'; |
| 137 | + */ | ||
| 136 | 138 | ||
| 137 | return $mime_types; | 139 | return $mime_types; |
| 138 | } | 140 | } |