使用POI往word插入图片

使用POI往word插入图片,POI4以上可以使用XWPFRun.addPic(),POI3.7-3.9需要重构XWPFDocument.createPicture()方法 参考资料1:1https://bz.apache.org/bugzilla/show_bug.cgi?id=49765(14楼大神给出解决方案,15楼大神直接给出代码) 参考资料2:https://stackoverflow.com/questions/7674115/how-to-add-a-picture-to-a-docx-document-with-apache-poi-xwpf-in-java

POI复制word、table、Paragraph

POI操作word复制,包括Table、Paragraph的复制 参考文档 https://stackoverflow.com/questions/23112924/make-an-exact-copy-of-a-paragraph-including-all-contents-and-properties API文档地址 http://poi.apache.org/apidocs/dev/org/apache/poi/xwpf/usermodel/XWPFDocument.html