版本:23.8
编程语言:java
当中间加了一段css样式后,html转word后图片消失,
如果中不加css样式,图片可以正常显示
源文件:
ccc.zip (1.5 MB)
转换代码:
com.aspose.words.Document Docx = new com.aspose.words.Document(htmlInputStream);
ByteArrayOutputStream byteAr…...Document docx = new com.aspose.words.Docu...ByteArrayOutputStrea(); docx.save(byteArrayOutputStrea, SaveFormat.DOCX); return...