Skip to content

BigBroB/apache-poi-word-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

96f4d00 · Apr 26, 2020

History

5 Commits
Apr 26, 2020
Apr 23, 2020
Apr 26, 2020
Apr 23, 2020

Repository files navigation

apache-poi-word-chart

使用 POI 操作模板图表

使用
  1. poi-tl 的一个自定义插件
  2. 根据word模板,定位折线图图表,尽可能不修改样式,渲染图表
  3. 详细描述
示例
Configure configure = Configure.newBuilder()
                .referencePolicy(
                        new InsertLineChartRefRenderPolicy("###", data))
                .build();

Map<String, Object> params = new HashMap<String, Object>();

XWPFTemplate template = XWPFTemplate
        .compile(templatePath, configure)
        .render(params);
template.writeToFile(after);

About

poi-word 操作图表

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages