diff --git a/README.cn.md b/README.cn.md index b55a8156..baf498f5 100644 --- a/README.cn.md +++ b/README.cn.md @@ -1,7 +1,7 @@ # kkFileView 文档在线预览项目解决方案,项目使用流行的spring boot搭建,易上手和部署。万能的文件预览开源项目,基本支持主流文档格式预览,如: -1. 支持 doc, docx, xls, xlsx, xlsm, ppt, pptx, csv, tsv 等 Office 办公文档 -2. 支持 wps, dps, et 等国产 WPS Office 办公文档 +1. 支持 doc, docx, xls, xlsx, xlsm, ppt, pptx, csv, tsv, dotm, xlt, xltm, dot, xlam, xla 等 Office 办公文档 +2. 支持 wps, dps, et, ett, wpt 等国产 WPS Office 办公文档 3. 支持 odt, ods, ots, odp, otp, six, ott, fodt, fods 等OpenOffice、LibreOffice 办公文档 4. 支持 vsd, vsdx 等 Visio 流程图文件 5. 支持 wmf, emf 等 Windows 系统图像文件 diff --git a/README.md b/README.md index 58d14ef6..2bf7239f 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Document online preview project solution, built using the popular Spring Boot framework for easy setup and deployment. This versatile open source project provides basic support for a wide range of document formats, including: -1. Supports Office documents such as `doc`, `docx`, `xls`, `xlsx`, `xlsm`, `ppt`, `pptx`, `csv`, `tsv`, etc. -2. Supports domestic WPS Office documents such as `wps`, `dps`, et. +1. Supports Office documents such as `doc`, `docx`, `xls`, `xlsx`, `xlsm`, `ppt`, `pptx`, `csv`, `tsv`, , `dotm`, `xlt`, `xltm`, `dot`, `xlam`, `xla,` etc. +2. Supports domestic WPS Office documents such as `wps`, `dps`, `et` , `ett`, ` wpt`. 3. Supports OpenOffice, LibreOffice office documents such as `odt`, `ods`, `ots`, `odp`, `otp`, `six`, `ott`, `fodt` and `fods`. 4. Supports Visio flowchart files such as `vsd`, `vsdx`. 5. Supports Windows system image files such as `wmf`, `emf`. diff --git a/pom.xml b/pom.xml index c85d1597..fd882341 100644 --- a/pom.xml +++ b/pom.xml @@ -11,19 +11,19 @@ 1.8 - 4.4.5 + 4.4.6 2.4.2 5.2.2 1.0.6 - 1.4.19 - 7.4.1 + 1.4.20 + 7.5.4 3.2.0 16.02-2.01 1.0 2.7.7 1.4.2 5.17.2 - 2.0.26 + 2.0.27 1.4.0 3.0.4 0.2.1 diff --git a/server/src/main/java/cn/keking/model/FileType.java b/server/src/main/java/cn/keking/model/FileType.java index 4e6ccba4..7c10a458 100644 --- a/server/src/main/java/cn/keking/model/FileType.java +++ b/server/src/main/java/cn/keking/model/FileType.java @@ -31,7 +31,7 @@ public enum FileType { SVG("svgFilePreviewImpl"), Epub("epubFilePreviewImpl"); - private static final String[] OFFICE_TYPES = {"docx", "wps", "doc", "docm", "xls", "xlsx", "csv" ,"xlsm", "ppt", "pptx", "vsd", "rtf", "odt", "wmf", "emf", "dps", "et", "ods", "ots", "tsv", "odp", "otp", "sxi", "ott", "vsdx", "fodt", "fods", "xltx","tga","psd"}; + private static final String[] OFFICE_TYPES = {"docx", "wps", "doc", "docm", "xls", "xlsx", "csv" ,"xlsm", "ppt", "pptx", "vsd", "rtf", "odt", "wmf", "emf", "dps", "et", "ods", "ots", "tsv", "odp", "otp", "sxi", "ott", "vsdx", "fodt", "fods", "xltx","tga","psd","dotm","ett","xlt","xltm","wpt","dot","xlam","xla"}; private static final String[] PICTURE_TYPES = {"jpg", "jpeg", "png", "gif", "bmp", "ico", "jfif", "webp"}; private static final String[] ARCHIVE_TYPES = {"rar", "zip", "jar", "7-zip", "tar", "gzip", "7z"}; private static final String[] Online3D_TYPES = {"obj", "3ds", "stl", "ply", "off", "3dm", "fbx", "dae", "wrl", "3mf", "ifc","glb","o3dv","gltf","stp","bim","fcstd","step","iges","brep"};