IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#780)

Fix preview of xlsx not working at attachment viewer
This commit is contained in:
hengsin 2021-07-16 17:15:40 +08:00 committed by GitHub
parent 3dcef18868
commit 287f41a067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
*****************************************************************************/
package org.compiere.util;
import com.google.common.net.MediaType;
/**
* Mime - Content type map.
@ -760,6 +761,7 @@ public class MimeType
// { ".xlm", "application/x-excel"},
// { ".xls", "application/excel"},
{ ".xls", "application/vnd.ms-excel"},
{ ".xlsx", MediaType.OOXML_SHEET.toString()},
// { ".xls", "application/x-excel"},
// { ".xls", "application/x-msexcel"},
// { ".xlt", "application/excel"},