领导不知道在哪看到libreoffice说要用这个把office转为pdf,于是本人各种翻资料,总结发现jodconverter-3.0 以上版本支持java代码调用。此包找了很久最后花钱下载,有要的@我 qq857484261
<!-- https://mvnrepository.com/artifact/org.jodconverter/jodconverter-local -->
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-local</artifactId>
<version>4.2.1</version>
</dependency>