我试图使用documents4j 1.0.3.jar将java中的Docx文件转换为pdf文件,但我无法转换。我看到了一些引用,每个人都建议在带有pom文件依赖项的maven项目中这样做。我们不需要maven项目,我只想在一个添加了jar文件的java项目中找到解决方案。outputStream = new FileOutputStream(outputFile);
我正在寻找一个良好的转换器,以转换办公室文件和图像为Pdf。我想尝试一下免费源码Documents4J。From-Microsoft-Word-Converter was started successfully
16:28:49.132 [main] INFO com.documents4j.job.LocalConverter - The documents4jDEBUG o.zeroturnaround.exec.WaitForProcess - java.lang.ProcessImpl@39bd6b04 stopped with