新增CAD类型 .dwf文件支持

pull/115/head
gaoxiongzaq 2 years ago
parent ae55f53325
commit 8649f20841

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

@ -16,7 +16,7 @@ Document online preview project solution, built using the popular Spring Boot fr
10. Support for `eml` mail files 10. Support for `eml` mail files
11. Support for `epub` book documents 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. 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. 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. 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. 16. Supports image previewing (flip, zoom, mirror) of `jpg`, `jpeg`, `png`, `gif`, `bmp`, `ico`, `jfif`, `webp`, etc.

@ -46,7 +46,7 @@ public enum FileType {
private static final String[] TIFF_TYPES = {"tif", "tiff"}; private static final String[] TIFF_TYPES = {"tif", "tiff"};
private static final String[] OFD_TYPES = {"ofd"}; private static final String[] OFD_TYPES = {"ofd"};
private static final String[] SVG_TYPES = {"svg"}; 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[] 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[] 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(); private static final String[] MEDIA_TYPES = ConfigConstants.getMedia();

@ -70,7 +70,7 @@
<li> eml </li> <li> eml </li>
<li> epub </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> 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> txt, xml(), md(), java, php, py, js, css </li>
<li> zip, rar, jar, tar, gzip, 7z </li> <li> zip, rar, jar, tar, gzip, 7z </li>
<li> jpg, jpeg, png, gif, bmp, ico, jfif, webp </li> <li> jpg, jpeg, png, gif, bmp, ico, jfif, webp </li>

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

Loading…
Cancel
Save