|
|
@@ -0,0 +1,33 @@ |
|
|
|
1.3 使用 |
|
|
|
=== |
|
|
|
|
|
|
|
- 1.easypoi 父包--作用大家都懂得 |
|
|
|
- 2.easypoi-annotation 基础注解包,作用与实体对象上,拆分后方便maven多工程的依赖管理 |
|
|
|
- 3.easypoi-base 导入导出的工具包,可以完成Excel导出,导入,Word的导出,Excel的导出功能 |
|
|
|
- 4.easypoi-web 耦合了spring-mvc 基于AbstractView,极大的简化spring-mvc下的导出功能 |
|
|
|
- 5.sax 导入使用xercesImpl这个包(这个包可能造成奇怪的问题哈),word导出使用poi-scratchpad,都作为可选包了 |
|
|
|
|
|
|
|
如果不使用spring mvc的便捷福利,直接引入easypoi-base 就可以了,easypoi-annotation |
|
|
|
|
|
|
|
如果使用maven,请使用如下坐标 |
|
|
|
```xml |
|
|
|
<dependency> |
|
|
|
<groupId>cn.afterturn</groupId> |
|
|
|
<artifactId>easypoi-base</artifactId> |
|
|
|
<version>3.0.1-SNAPSHOT</version> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>cn.afterturn</groupId> |
|
|
|
<artifactId>easypoi-web</artifactId> |
|
|
|
<version>3.0.1-SNAPSHOT</version> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>cn.afterturn</groupId> |
|
|
|
<artifactId>easypoi-annotation</artifactId> |
|
|
|
<version>3.0.1-SNAPSHOT</version> |
|
|
|
</dependency> |
|
|
|
``` |
|
|
|
|
|
|
|
如果没有maven请直接下jar,在[alimaven](http://maven.aliyun.com/nexus/#nexus-search;quick~easypoi) |
|
|
|
|
|
|
|
|