!115 新增CAD类型 .dwf文件支持

Merge pull request !115 from 高雄/dwf
pull/86/MERGE
kailing 2023-04-24 06:44:06 +00:00 committed by Gitee
commit 10d5b20c81
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,7 @@
10. eml
11. epub
12. obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim 3D
13. dwg, dxf CAD
13. dwg, dxf, dwf CAD
14. txt, xml(), md(), java, php, py, js, css
15. zip, rar, jar, tar, gzip, 7z
16. jpg, jpeg, png, gif, bmp, ico, jfif, webp

View File

@ -16,7 +16,7 @@ Document online preview project solution, built using the popular Spring Boot fr
10. Support for `eml` mail files
11. Support for `epub` book documents
12. Supports 3D model files like `obj`, `3ds`, `stl`, `ply`, `gltf`, `glb`, `off`, `3dm`, `fbx`, `dae`, `wrl`, `3mf`, `ifc`, `brep`, `step`, `iges`, `fcstd`, `bim`, etc.
13. Supports CAD model files such as `dwg`, `dxf`.
13. Supports CAD model files such as `dwg`, `dxf`, 'dwf'.
14. Supports all plain text files such as `txt`, `xml` (rendering), `md` (rendering), `java`, `php`, `py`, `js`, `css`, etc.
15. Supports compressed packages such as `zip`, `rar`, `jar`, `tar`, `gzip`, `7z`, etc.
16. Supports image previewing (flip, zoom, mirror) of `jpg`, `jpeg`, `png`, `gif`, `bmp`, `ico`, `jfif`, `webp`, etc.

View File

@ -46,7 +46,7 @@ public enum FileType {
private static final String[] TIFF_TYPES = {"tif", "tiff"};
private static final String[] OFD_TYPES = {"ofd"};
private static final String[] SVG_TYPES = {"svg"};
private static final String[] CAD_TYPES = {"dwg", "dxf"};
private static final String[] CAD_TYPES = {"dwg", "dxf", "dwf"};
private static final String[] SSIM_TEXT_TYPES = ConfigConstants.getSimText();
private static final String[] CODES = {"java", "c", "php", "go", "python", "py", "js", "html", "ftl", "css", "lua", "sh", "rb", "yaml", "yml", "json", "h", "cpp", "cs", "aspx", "jsp"};
private static final String[] MEDIA_TYPES = ConfigConstants.getMedia();

View File

@ -70,7 +70,7 @@
<li> eml </li>
<li> epub </li>
<li> obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim 3D </li>
<li> dwg, dxf CAD </li>
<li> dwg, dxf, dwf CAD </li>
<li> txt, xml(), md(), java, php, py, js, css </li>
<li> zip, rar, jar, tar, gzip, 7z </li>
<li> jpg, jpeg, png, gif, bmp, ico, jfif, webp </li>

View File

@ -56,6 +56,7 @@
1. dcm <br>
2. drawio <br>
3. &forceUpdatedCache=true <br>
4. dwf CAD <br>
</div>
</div>
<div class="panel panel-success">