You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README-en.md 4.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. EasyPoi Excel & Word Utils
  2. ----------------------------
  3. Easypoi functions like the name easy, the flagship feature is easy to let a person who has not seen the POI contact
  4. You can easily write Excel export, Excel template export, Excel import, Word template export, and through simple annotations and templates
  5. Language (familiar expressions, grammar), complete the previous complex writing
  6. site:http://www.afterturn.cn/
  7. mail: qrb.jueyue@gmail.com
  8. QQ群: 364192721
  9. dev: xf.key@163.com
  10. **开发指南-中文[http://www.afterturn.cn/doc/easypoi.html](http://www.afterturn.cn/doc/easypoi.html)**
  11. [base demo](https://github.com/lemur-open/easypoi/blob/master/basedemo.md)
  12. [testProject](http://git.oschina.net/jueyue/easypoi-test): http://git.oschina.net/jueyue/easypoi-test
  13. ---------------------------
  14. The main features of EasyPoi
  15. --------------------------
  16. 1. exquisite design, easy to use
  17. 2. interface rich, easy to expand
  18. 3. default values are many, write, less, do, more
  19. 4. AbstractView support, web export can be simple and clear
  20. ---------------------------
  21. Several entry tool classes for EasyPoi
  22. ---------------------------
  23. 1. ExcelExportUtil Excel export (General export, template export)
  24. 2. ExcelImportUtil Excel import
  25. 3. WordExportUtil Word export (support only docx, Doc version POI exist picture of bug, do not support)
  26. ---------------------------
  27. About Excel export XLS and XLSX distinction
  28. ---------------------------
  29. 1. export time XLS is 2-3 times faster than XLSX
  30. 2. export size XLS is 2-3 times or more than XLSX
  31. 3. export needs comprehensive speed and speed do consider local ^ ~ ^
  32. ---------------------------
  33. Description of several works
  34. ---------------------------
  35. 1. easypoi father package - everyone knows
  36. 2. easypoi-annotation foundation annotation package, role and entity object, after splitting convenient Maven multi project dependency management
  37. 3. easypoi-base import and export toolkit, you can complete the Excel export, import, export Word, Excel export function
  38. 4. easypoi-web coupled with spring-mvc, based on AbstractView, greatly simplifying the export function under spring-mvc
  39. The 5.sax import uses the xercesImpl package (this package can cause a strange problem), and the word export uses poi-scratchpad as an optional package
  40. --------------------------
  41. maven
  42. --------------------------
  43. ```xml
  44. <dependency>
  45. <groupId>cn.afterturn</groupId>
  46. <artifactId>easypoi-base</artifactId>
  47. <version>3.0.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>cn.afterturn</groupId>
  51. <artifactId>easypoi-web</artifactId>
  52. <version>3.0.1</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>cn.afterturn</groupId>
  56. <artifactId>easypoi-annotation</artifactId>
  57. <version>3.0.1</version>
  58. </dependency>
  59. ```
  60. --------------------------
  61. pom desc
  62. --------------------------
  63. Word and sax are used only when they are read. They are not necessary. Please refer to them manually. JSR303's check is optional, and PDF's jar is optional
  64. ```xml
  65. <!-- sax -->
  66. <dependency>
  67. <groupId>xerces</groupId>
  68. <artifactId>xercesImpl</artifactId>
  69. <version>${xerces.version}</version>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.poi</groupId>
  74. <artifactId>poi-scratchpad</artifactId>
  75. <version>${poi.version}</version>
  76. <optional>true</optional>
  77. </dependency>
  78. <!-- Word -->
  79. <dependency>
  80. <groupId>org.apache.poi</groupId>
  81. <artifactId>ooxml-schemas</artifactId>
  82. <version>1.3</version>
  83. <optional>true</optional>
  84. </dependency>
  85. <!-- validator -->
  86. <dependency>
  87. <groupId>org.hibernate</groupId>
  88. <artifactId>hibernate-validator</artifactId>
  89. <version>5.1.3.Final</version>
  90. <optional>true</optional>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.bval</groupId>
  94. <artifactId>org.apache.bval.bundle</artifactId>
  95. <version>1.1.0</version>
  96. </dependency>
  97. <!-- PDF -->
  98. <dependency>
  99. <groupId>com.itextpdf</groupId>
  100. <artifactId>itextpdf</artifactId>
  101. <version>5.5.6</version>
  102. <optional>true</optional>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.itextpdf</groupId>
  106. <artifactId>itext-asian</artifactId>
  107. <version>5.2.0</version>
  108. <optional>true</optional>
  109. </dependency>
  110. ```