# file-convert **Repository Path**: GitFay/file-convert ## Basic Information - **Project Name**: file-convert - **Description**: 文件格式转换的项目,目前支持HTML转Word、PDF(经测试Word文档也支持转PDF) - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2021-06-03 - **Last Updated**: 2025-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: 文件转换 ## README # 项目介绍文档 #### 介绍 文件格式转换的项目,目前支持HTML转Word、PDF(经测试Word文档也支持转PDF)。 #### 快速开始 1. 第一步:pull项目或直接下载项目压缩包。 ``git clone https://gitee.com/fqfa1226/file-preview.git`` 1. 第二步:添加外部系统依赖包,将本地lib目录下的系统jar添加到Maven仓库(或使用本地jar依赖方式,不推荐),添加方式参考: ``mvn install:install-file -Dfile=xxx.1.1.jar -DgroupId=com.xxx -DartifactId=com.xxx.xx -Dversion=1.1 -Dpackaging=jar`` 1. 第三步:编译运行测试用例,测试用例在``HtmlConvertTest``类,生成文件正常就能拿到项目中去使用了。