09 2017 档案
摘要:一、解析html
二、循环Elements获取我需要的html标签
三、生成段落
四、设置页边距
五、创建页眉
六、创建页脚
七、自定义标题样式(这个在我另一篇word基础中也有提及)
八、设置页码大小及纸张方向
阅读全文
摘要:我用的是office word 2016版 创建文本对象 XWPFDocument docxDocument = new XWPFDocument(); 创建段落对象 XWPFParagraph paragraphX = docxDocument.createParagraph();
阅读全文
摘要:java中使用XWPFDocument操作Word是文本(XWPFRun)属性详解
阅读全文
摘要:注:有不正确的地方还望大神能够指出,抱拳了 老铁! 参考API:http://poi.apache.org/apidocs/org/apache/poi/xwpf/usermodel/XWPFDocument.html 主要参考文章1:http://www.cnblogs.com/Springmoo
阅读全文