要实现word文档转换图片功能,网上看了好多资料,很多都说用aspose。我用了下,实在是想吐,首先收费不说,其次jar包资源难找,而且到LINUX上还乱码…给大家推荐一个超级好用的 (https://www.e-iceblue.cn/)**,里面有详细的文档,但是不是很全面,我这边就自己记录下,话不多说,上代码!
首先是maven依赖,官网文档只写了pdf的,这里我去仓库地址找了word的
<!-- spire doc for java -->
<dependency>
<groupId>e-iceblue</groupId>
<artifactId>spire.doc</artifactId>
<version>3.2.3</version>
</dependency>
还要在pom.xml文件中配置Maven仓库路径
<repositories>
<repository>
<id>com.e-iceblue<