mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
add open office formats to get_extension
This commit is contained in:
parent
5e591f3a75
commit
ed27dbcf4b
|
@ -651,6 +651,9 @@ function get_extension($mimetype) { /* {{{ */
|
|||
case 'application/postscript': return '.ps';
|
||||
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': return '.docx';
|
||||
case 'application/vnd.openxmlformats-officedocument.presentationml.presentation': return '.pptx';
|
||||
case 'application/vnd.oasis.opendocument.text': return '.odt';
|
||||
case 'application/vnd.oasis.opendocument.spreadsheet': return '.ods';
|
||||
case 'application/vnd.oasis.opendocument.presentation': return '.odp';
|
||||
case 'text/plain': return '.txt';
|
||||
case 'text/csv': return '.csv';
|
||||
case 'text/rtf': return '.rtf';
|
||||
|
|
Loading…
Reference in New Issue
Block a user