由freemarker生成的docx后缀的word文档无法在iphone上显示图像。但在办公室中进行一些小的修改后,例如添加空间和保存,您可以在iPhone上正确地看到图片。
我想生成一个可以在我的iPhone上显示图像的wrod文档。enter image description hereenter image description here https://gitee.com/wahnn/JavaUtilsProject/tree/master/src/main/java/com/sl/utils/office/word这是我的代码参考。
发布于 2019-04-01 15:23:56
请考虑使用xdocreport (它可以在幕后使用freemarker ),它应该能够为您获得正确的图像、rels等。
https://stackoverflow.com/questions/55398005
复制相似问题