POI根据模板导出word,实现文字、图片、表格、图表的替换生成。支持生成多种结构的表格、图表,关键代码都添加了注释,简单易懂

上传者: semperhoney | 上传时间: 2023-04-04 15:20:00 | 文件大小: 647KB | 文件类型: RAR
java版本1.8,poi用的1.4+。实现了POI根据模板导出word,实现文字、表格、图表的替换生成。支持生成多种结构的表格、图表,关键代码都添加了注释,简单易懂。 其中表格和图表都写了两种实现方式,既可以只传简单的参数生成多个同结构的表格和图表,也可以通过传对象的方式生成多种结构的对应图表或表格

文件下载

资源详情

[{"title":"( 43 个子文件 647KB ) POI根据模板导出word,实现文字、图片、表格、图表的替换生成。支持生成多种结构的表格、图表,关键代码都添加了注释,简单易懂","children":[{"title":"poiDemo","children":[{"title":"pom.xml <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"images","children":[{"title":"test_result","children":[{"title":"test_result_01.jpg <span style='color:#111;'> 398.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"img.png <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false},{"title":"test_template","children":[{"title":"test_template_01.jpg <span style='color:#111;'> 295.78KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"test-classes","children":[{"title":"test_template.docx <span style='color:#111;'> 40.33KB </span>","children":null,"spread":false},{"title":"images","children":null,"spread":false},{"title":"com","children":[{"title":"poi","children":[{"title":"demo","children":[{"title":"test","children":[{"title":"WordContentParserTest.class <span style='color:#111;'> 11.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test_result.docx <span style='color:#111;'> 47.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"compile","children":[{"title":"default-compile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"createdFiles.lst <span style='color:#111;'> 513B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"createdFiles.lst <span style='color:#111;'> 46B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"log4j.properties <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"poi","children":[{"title":"demo","children":[{"title":"util","children":[{"title":"PoiUtil.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"vo","children":[{"title":"WordContentParserVO.class <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"parser","children":[{"title":"WordChartParser$ChartReplace.class <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"WordParagraphParser.class <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"WordTableParser.class <span style='color:#111;'> 13.67KB </span>","children":null,"spread":false},{"title":"WordChartParser$LineValue.class <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"WordContentParser.class <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"WordTableParser$TableReplace.class <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"WordPictureParser.class <span style='color:#111;'> 10.04KB </span>","children":null,"spread":false},{"title":"WordPictureParser$PictureReplace.class <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"WordChartParser.class <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"test_template.docx <span style='color:#111;'> 104.80KB </span>","children":null,"spread":false},{"title":"images","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"poi","children":[{"title":"demo","children":[{"title":"test","children":[{"title":"WordContentParserTest.java <span style='color:#111;'> 11.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"log4j.properties <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"poi","children":[{"title":"demo","children":[{"title":"util","children":[{"title":"PoiUtil.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"vo","children":[{"title":"WordContentParserVO.java <span style='color:#111;'> 541B </span>","children":null,"spread":false}],"spread":true},{"title":"parser","children":[{"title":"WordContentParser.java <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"WordTableParser.java <span style='color:#111;'> 11.92KB </span>","children":null,"spread":false},{"title":"WordPictureParser.java <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"WordChartParser.java <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false},{"title":"WordParagraphParser.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"dbnavigator.xml <span style='color:#111;'> 22.10KB </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"jarRepositories.xml <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 47B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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