lwx475784

Results comments of lwx475784

I also ran into this problem and have not yet found a solution.

Hey, I found a way to fix it, turn your stream obj to PassThrough and use it, like this: `const source = new PassThrough() \n stream.pipe(source)` it works for me!

我也碰到这个问题,默认插入图片格式是嵌入型,想设置成四周型,没有提供设置方式,求大神看下 @ @ @

已找到解决方案,关于word中图片布局可以参靠:https://stackoverflow.com/questions/47673133/change-image-layout-or-wrap-in-docx-with-apache-poi,修改内置模板策略PictureRenderPolicy即可 我的修改: ```java public static void renderPicture(XWPFRun run, PictureRenderData picture) throws Exception { int suggestFileType = suggestFileType(picture.getPath()); InputStream ins = null == picture.getData() ? new FileInputStream(picture.getPath()) : new ByteArrayInputStream(picture.getData()); run.addPicture(ins,...