【实例简介】
使用java Apache poi 根据word模板生成word报表
仅支持docx格式的word文件,大概是word2010及以后版本,doc格式不支持。
使用说明:https://blog.csdn.net/u012775558/article/details/79678701
【实例截图】
【核心代码】
使用javaApachepoi根据word模板生成word报表例子
└── wordTemplate
├── doc
│ ├── 模板.docx
│ └── 输出.docx
├── pom.xml
├── src
│ └── main
│ └── java
│ └── com
│ └── hidata
│ └── tool
│ ├── Test.java
│ └── WordTemplate.java
└── target
└── classes
├── META-INF
│ ├── MANIFEST.MF
│ └── maven
│ └── com.hidata
│ └── wordTemplate
│ ├── pom.properties
│ └── pom.xml
└── com
└── hidata
└── tool
├── Test.class
└── WordTemplate.class
17 directories, 10 files