poi实现world文档动态插入表格

上传者: corleone_4ever | 上传时间: 2019-12-21 19:35:49 | 文件大小: 290KB | 文件类型: rar
应公司业务要求,需要在world文档中生成表格,最开始同事使用的freemarker操作xml标签可以实现world中插入表格, 但是每次修改模板需要改xml文件,几万行中去找对应的标签然后修改,容易找错位置并且电脑非常卡,相当麻烦;,最后还是用poi操作world简单多了

文件下载

资源详情

[{"title":"( 17 个子文件 290KB ) poi实现world文档动态插入表格","children":[{"title":"wroldAddTable","children":[{"title":"pom.xml <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"target","children":[{"title":"test-classes","children":null,"spread":false},{"title":"classes","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"wroldAddTable","children":[{"title":"wroldAddTable","children":[{"title":"pom.xml <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"test","children":[{"title":"Test2.class <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"Test1.class <span style='color:#111;'> 6.97KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":null,"spread":false},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"Test2.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"Test1.java <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 789B </span>","children":null,"spread":false}],"spread":true},{"title":"ok","children":[{"title":"demo2.docx <span style='color:#111;'> 94.12KB </span>","children":null,"spread":false},{"title":"demo3.docx <span style='color:#111;'> 94.11KB </span>","children":null,"spread":false},{"title":"demo.docx <span style='color:#111;'> 102.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 318B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • 刘广法 :
    实现的是用占位符的方式替换表格
    2019-08-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明