在使用aspose.words for java将docx转换为pdf时,遇到了pdf无法显示图片的问题;发现问题是在22.1,然后用最新的24.2测试,结果一样;
代码如下:
public class Main {
public static void main(String[] args) {
try {
String path =Main.class.getClassLoader().getResource("test.docx").getPath();
path = path.substring(1);
Document doc = new Document(path);
doc.save("test.pdf");
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
文件如下:
test.docx (74.8 KB)
请问这个该如何处理?
@29095090
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-26715
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you have found earlier (filed as WORDSNET-26715) have been fixed in this Aspose.Words for Java 24.4 update.
The issues you have found earlier (filed as WORDSNET-26715) have been fixed in this Aspose.Words for Java 24.4 update.
Thank you, I have successfully verified