Browse Source

修改包名,改为cn.afterturn的域名

4.1.3.A
jueyue 8 years ago
parent
commit
2b88f3e219
100 changed files with 354 additions and 315 deletions
  1. +5
    -3
      README.md
  2. +2
    -2
      easypoi-annotation/pom.xml
  3. +1
    -1
      easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java
  4. +1
    -1
      easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelCollection.java
  5. +1
    -1
      easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelEntity.java
  6. +1
    -1
      easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelIgnore.java
  7. +1
    -1
      easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelTarget.java
  8. +3
    -3
      easypoi-base/pom.xml
  9. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/ExcelCache.java
  10. +4
    -4
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/HtmlCache.java
  11. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/ImageCache.java
  12. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/WordCache.java
  13. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/FileLoadeImpl.java
  14. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/IFileLoader.java
  15. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/POICacheManager.java
  16. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/package-info.java
  17. +9
    -8
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelExportUtil.java
  18. +9
    -8
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelImportUtil.java
  19. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelToHtmlUtil.java
  20. +6
    -5
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/HtmlToExcelUtil.java
  21. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExcelBaseParams.java
  22. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExcelToHtmlParams.java
  23. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExportExcelItem.java
  24. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExportParams.java
  25. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ImportParams.java
  26. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/TemplateExportParams.java
  27. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/CellValueType.java
  28. +4
    -4
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/ExcelStyleType.java
  29. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/ExcelType.java
  30. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelBaseEntity.java
  31. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelCollectionParams.java
  32. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelExportEntity.java
  33. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelForEachParams.java
  34. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelImportEntity.java
  35. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/MergeEntity.java
  36. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/result/ExcelImportResult.java
  37. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/result/ExcelVerifyHanlderResult.java
  38. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/sax/SaxReadCellEntity.java
  39. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/vo/BaseEntityTypeConstants.java
  40. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/vo/PoiBaseConstants.java
  41. +10
    -9
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/ExcelBatchExportServer.java
  42. +11
    -10
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/ExcelExportServer.java
  43. +10
    -9
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/base/ExcelExportBase.java
  44. +11
    -10
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/base/ExportBase.java
  45. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/AbstractExcelExportStyler.java
  46. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerBorderImpl.java
  47. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerColorImpl.java
  48. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerDefaultImpl.java
  49. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/IExcelExportStyler.java
  50. +18
    -18
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/template/ExcelExportOfTemplateUtil.java
  51. +4
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/template/TemplateSumHanlder.java
  52. +9
    -8
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/builder/ExcelChartBuildService.java
  53. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/constant/ExcelGraphElementType.java
  54. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/constant/ExcelGraphType.java
  55. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraph.java
  56. +3
    -3
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraphDefined.java
  57. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraphElement.java
  58. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelTitleCell.java
  59. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/package-info.java
  60. +7
    -6
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/ExcelToHtmlServer.java
  61. +15
    -13
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/HtmlToExcelServer.java
  62. +7
    -6
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/CssParseServer.java
  63. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/ICssConvertToExcel.java
  64. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/ICssConvertToHtml.java
  65. +6
    -5
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/AlignCssConvertImpl.java
  66. +6
    -5
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/BackgroundCssConvertImpl.java
  67. +8
    -7
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/BorderCssConverImpl.java
  68. +6
    -5
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/HeightCssConverImpl.java
  69. +7
    -6
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/TextCssConvertImpl.java
  70. +6
    -5
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/WidthCssConverImpl.java
  71. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/ExcelCssConstant.java
  72. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/HtmlCssConstant.java
  73. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CellStyleBorderEntity.java
  74. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CellStyleEntity.java
  75. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CssStyleFontEnity.java
  76. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/CellValueHelper.java
  77. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/MergedRegionHelper.java
  78. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/StylerHelper.java
  79. +0
    -0
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/excelStyle.css
  80. +8
    -7
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/CellValueServer.java
  81. +16
    -15
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/ExcelImportServer.java
  82. +10
    -9
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/base/ImportBaseService.java
  83. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/package-info.java
  84. +7
    -6
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/SaxReadExcel.java
  85. +5
    -4
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/SheetHandler.java
  86. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/parse/ISaxRowRead.java
  87. +13
    -12
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/parse/SaxRowRead.java
  88. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/package-info.java
  89. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/ExcelExportException.java
  90. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/ExcelImportException.java
  91. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/enums/ExcelExportEnum.java
  92. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/enums/ExcelImportEnum.java
  93. +2
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/word/WordExportException.java
  94. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/word/enmus/WordExportEnum.java
  95. +3
    -2
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/impl/ExcelDataHandlerDefaultImpl.java
  96. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/impl/package-info.java
  97. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelDataHandler.java
  98. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelExportServer.java
  99. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelModel.java
  100. +1
    -1
      easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelReadRowHanlder.java

+ 5
- 3
README.md View File

@@ -26,6 +26,8 @@ basedemo.md
[测试项目](http://git.oschina.net/jueyue/easypoi-test): http://git.oschina.net/jueyue/easypoi-test [测试项目](http://git.oschina.net/jueyue/easypoi-test): http://git.oschina.net/jueyue/easypoi-test
!!! 3.0.1 版本开始全新包名和GROUPID cn.afterturn
--------------------------- ---------------------------
EasyPoi的主要特点 EasyPoi的主要特点
-------------------------- --------------------------
@@ -69,17 +71,17 @@ https://oss.sonatype.org/content/repositories/snapshots/
<dependency> <dependency>
<groupId>org.jeecg</groupId> <groupId>org.jeecg</groupId>
<artifactId>easypoi-base</artifactId> <artifactId>easypoi-base</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jeecg</groupId> <groupId>org.jeecg</groupId>
<artifactId>easypoi-web</artifactId> <artifactId>easypoi-web</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jeecg</groupId> <groupId>org.jeecg</groupId>
<artifactId>easypoi-annotation</artifactId> <artifactId>easypoi-annotation</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
</dependency> </dependency>
``` ```


+ 2
- 2
easypoi-annotation/pom.xml View File

@@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.jeecg</groupId>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi</artifactId> <artifactId>easypoi</artifactId>
<version>2.4.0</version>
<version>3.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>easypoi-annotation</artifactId> <artifactId>easypoi-annotation</artifactId>
<description>基础注解类,解耦合</description> <description>基础注解类,解耦合</description>

easypoi-annotation/src/main/java/org/jeecgframework/poi/excel/annotation/Excel.java → easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.annotation;
package cn.afterturn.easypoi.excel.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

easypoi-annotation/src/main/java/org/jeecgframework/poi/excel/annotation/ExcelCollection.java → easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelCollection.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.annotation;
package cn.afterturn.easypoi.excel.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

easypoi-annotation/src/main/java/org/jeecgframework/poi/excel/annotation/ExcelEntity.java → easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.annotation;
package cn.afterturn.easypoi.excel.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

easypoi-annotation/src/main/java/org/jeecgframework/poi/excel/annotation/ExcelIgnore.java → easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelIgnore.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.annotation;
package cn.afterturn.easypoi.excel.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

easypoi-annotation/src/main/java/org/jeecgframework/poi/excel/annotation/ExcelTarget.java → easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/ExcelTarget.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.annotation;
package cn.afterturn.easypoi.excel.annotation;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;

+ 3
- 3
easypoi-base/pom.xml View File

@@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.jeecg</groupId>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi</artifactId> <artifactId>easypoi</artifactId>
<version>2.4.0</version>
<version>3.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>easypoi-base</artifactId> <artifactId>easypoi-base</artifactId>
<dependencies> <dependencies>
@@ -83,7 +83,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jeecg</groupId>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-annotation</artifactId> <artifactId>easypoi-annotation</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

easypoi-base/src/main/java/org/jeecgframework/poi/cache/ExcelCache.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/ExcelCache.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache;
package cn.aftertrun.easypoi.cache;
import java.io.InputStream; import java.io.InputStream;
import java.util.Arrays; import java.util.Arrays;
@@ -22,10 +22,11 @@ import java.util.List;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory; import org.apache.poi.ss.usermodel.WorkbookFactory;
import org.jeecgframework.poi.cache.manager.POICacheManager;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.cache.manager.POICacheManager;
/** /**
* Excel类型的缓存 * Excel类型的缓存
* *

easypoi-base/src/main/java/org/jeecgframework/poi/cache/HtmlCache.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/HtmlCache.java View File

@@ -1,14 +1,14 @@
package org.jeecgframework.poi.cache;
package cn.aftertrun.easypoi.cache;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.jeecgframework.poi.excel.entity.ExcelToHtmlParams;
import org.jeecgframework.poi.excel.html.ExcelToHtmlServer;
import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader; import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache; import com.google.common.cache.LoadingCache;
import cn.aftertrun.easypoi.excel.entity.ExcelToHtmlParams;
import cn.aftertrun.easypoi.excel.html.ExcelToHtmlServer;
/** /**
* Excel 转变成为Html 的缓存 * Excel 转变成为Html 的缓存
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/cache/ImageCache.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/ImageCache.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache;
package cn.aftertrun.easypoi.cache;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
@@ -23,12 +23,13 @@ import java.util.concurrent.TimeUnit;
import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.jeecgframework.poi.cache.manager.POICacheManager;
import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader; import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache; import com.google.common.cache.LoadingCache;
import cn.aftertrun.easypoi.cache.manager.POICacheManager;
/** /**
* 图片缓存处理 * 图片缓存处理
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/cache/WordCache.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/WordCache.java View File

@@ -13,15 +13,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache;
package cn.aftertrun.easypoi.cache;
import java.io.InputStream; import java.io.InputStream;
import org.jeecgframework.poi.cache.manager.POICacheManager;
import org.jeecgframework.poi.word.entity.MyXWPFDocument;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.cache.manager.POICacheManager;
import cn.aftertrun.easypoi.word.entity.MyXWPFDocument;
/** /**
* word 缓存中心 * word 缓存中心
* *

easypoi-base/src/main/java/org/jeecgframework/poi/cache/manager/FileLoadeImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/FileLoadeImpl.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache.manager;
package cn.aftertrun.easypoi.cache.manager;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.FileInputStream; import java.io.FileInputStream;
@@ -21,10 +21,11 @@ import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
/** /**
* 文件加载类,根据路径加载指定文件 * 文件加载类,根据路径加载指定文件
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/cache/manager/IFileLoader.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/IFileLoader.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache.manager;
package cn.aftertrun.easypoi.cache.manager;
/** /**
* 缓存读取 * 缓存读取

easypoi-base/src/main/java/org/jeecgframework/poi/cache/manager/POICacheManager.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/manager/POICacheManager.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.cache.manager;
package cn.aftertrun.easypoi.cache.manager;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.InputStream; import java.io.InputStream;

easypoi-base/src/main/java/org/jeecgframework/poi/cache/package-info.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/cache/package-info.java View File

@@ -8,4 +8,4 @@
* 2014年2月10日 * 2014年2月10日
* @version 1.0 * @version 1.0
*/ */
package org.jeecgframework.poi.cache;
package cn.aftertrun.easypoi.cache;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/ExcelExportUtil.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelExportUtil.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel;
package cn.aftertrun.easypoi.excel;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
@@ -23,13 +23,14 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.streaming.SXSSFWorkbook; import org.apache.poi.xssf.streaming.SXSSFWorkbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.export.ExcelBatchExportServer;
import org.jeecgframework.poi.excel.export.ExcelExportServer;
import org.jeecgframework.poi.excel.export.template.ExcelExportOfTemplateUtil;
import cn.aftertrun.easypoi.excel.entity.ExportParams;
import cn.aftertrun.easypoi.excel.entity.TemplateExportParams;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.export.ExcelBatchExportServer;
import cn.aftertrun.easypoi.excel.export.ExcelExportServer;
import cn.aftertrun.easypoi.excel.export.template.ExcelExportOfTemplateUtil;
/** /**
* excel 导出工具类 * excel 导出工具类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/ExcelImportUtil.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelImportUtil.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel;
package cn.aftertrun.easypoi.excel;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@@ -21,16 +21,17 @@ import java.io.InputStream;
import java.util.List; import java.util.List;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.entity.result.ExcelImportResult;
import org.jeecgframework.poi.excel.imports.ExcelImportServer;
import org.jeecgframework.poi.excel.imports.sax.SaxReadExcel;
import org.jeecgframework.poi.excel.imports.sax.parse.ISaxRowRead;
import org.jeecgframework.poi.exception.excel.ExcelImportException;
import org.jeecgframework.poi.handler.inter.IExcelReadRowHanlder;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.entity.ImportParams;
import cn.aftertrun.easypoi.excel.entity.result.ExcelImportResult;
import cn.aftertrun.easypoi.excel.imports.ExcelImportServer;
import cn.aftertrun.easypoi.excel.imports.sax.SaxReadExcel;
import cn.aftertrun.easypoi.excel.imports.sax.parse.ISaxRowRead;
import cn.aftertrun.easypoi.exception.excel.ExcelImportException;
import cn.aftertrun.easypoi.handler.inter.IExcelReadRowHanlder;
/** /**
* Excel 导入工具 * Excel 导入工具
* *

easypoi-base/src/main/java/org/jeecgframework/poi/excel/ExcelToHtmlUtil.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/ExcelToHtmlUtil.java View File

@@ -1,8 +1,9 @@
package org.jeecgframework.poi.excel;
package cn.aftertrun.easypoi.excel;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.jeecgframework.poi.cache.HtmlCache;
import org.jeecgframework.poi.excel.entity.ExcelToHtmlParams;
import cn.aftertrun.easypoi.cache.HtmlCache;
import cn.aftertrun.easypoi.excel.entity.ExcelToHtmlParams;
/** /**
* Excel 变成界面 * Excel 变成界面

easypoi-base/src/main/java/org/jeecgframework/poi/excel/HtmlToExcelUtil.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/HtmlToExcelUtil.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel;
package cn.aftertrun.easypoi.excel;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
@@ -22,10 +22,11 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.html.HtmlToExcelServer;
import org.jeecgframework.poi.exception.excel.ExcelExportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelExportEnum;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.html.HtmlToExcelServer;
import cn.aftertrun.easypoi.exception.excel.ExcelExportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelExportEnum;
/** /**
* 基于Excel和Html的互换 * 基于Excel和Html的互换

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/ExcelBaseParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExcelBaseParams.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import org.jeecgframework.poi.handler.inter.IExcelDataHandler;
import cn.aftertrun.easypoi.handler.inter.IExcelDataHandler;
/** /**
* 基础参数 * 基础参数

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/ExcelToHtmlParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExcelToHtmlParams.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/ExportExcelItem.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExportExcelItem.java View File

@@ -1,12 +1,12 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
/** /**
* @author xfworld * @author xfworld

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/ExportParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ExportParams.java View File

@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import org.apache.poi.hssf.util.HSSFColor; import org.apache.poi.hssf.util.HSSFColor;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerDefaultImpl;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerDefaultImpl;
/** /**
* Excel 导出参数 * Excel 导出参数

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/ImportParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/ImportParams.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import org.jeecgframework.poi.handler.inter.IExcelVerifyHandler;
import cn.aftertrun.easypoi.handler.inter.IExcelVerifyHandler;
/** /**
* 导入参数设置 * 导入参数设置

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/TemplateExportParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/TemplateExportParams.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity;
package cn.aftertrun.easypoi.excel.entity;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerDefaultImpl;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerDefaultImpl;
/** /**
* 模板导出参数设置 * 模板导出参数设置

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/enmus/CellValueType.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/CellValueType.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.enmus;
package cn.aftertrun.easypoi.excel.entity.enmus;
/** /**
* Cell 值得类型 * Cell 值得类型

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/enmus/ExcelStyleType.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/ExcelStyleType.java View File

@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.enmus;
package cn.aftertrun.easypoi.excel.entity.enmus;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerBorderImpl;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerColorImpl;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerDefaultImpl;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerBorderImpl;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerColorImpl;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerDefaultImpl;
/** /**
* 插件提供的几个默认样式 * 插件提供的几个默认样式

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/enmus/ExcelType.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/enmus/ExcelType.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.enmus;
package cn.aftertrun.easypoi.excel.entity.enmus;
/** /**
* Excel Type * Excel Type

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/ExcelBaseEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelBaseEntity.java View File

@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.List; import java.util.List;
import org.jeecgframework.poi.excel.entity.vo.BaseEntityTypeConstants;
import cn.aftertrun.easypoi.excel.entity.vo.BaseEntityTypeConstants;
/** /**
* Excel 导入导出基础对象类 * Excel 导入导出基础对象类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/ExcelCollectionParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelCollectionParams.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.util.Map; import java.util.Map;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/ExcelExportEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelExportEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.util.List; import java.util.List;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/ExcelForEachParams.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelForEachParams.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.io.Serializable; import java.io.Serializable;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/ExcelImportEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/ExcelImportEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.util.List; import java.util.List;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/params/MergeEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/params/MergeEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.params;
package cn.aftertrun.easypoi.excel.entity.params;
import java.util.List; import java.util.List;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/result/ExcelImportResult.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/result/ExcelImportResult.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.result;
package cn.aftertrun.easypoi.excel.entity.result;
import java.util.List; import java.util.List;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/result/ExcelVerifyHanlderResult.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/result/ExcelVerifyHanlderResult.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.result;
package cn.aftertrun.easypoi.excel.entity.result;
/** /**
* Excel导入处理返回结果 * Excel导入处理返回结果

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/sax/SaxReadCellEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/sax/SaxReadCellEntity.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.sax;
package cn.aftertrun.easypoi.excel.entity.sax;
import org.jeecgframework.poi.excel.entity.enmus.CellValueType;
import cn.aftertrun.easypoi.excel.entity.enmus.CellValueType;
/** /**
* Cell 对象 * Cell 对象

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/vo/BaseEntityTypeConstants.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/vo/BaseEntityTypeConstants.java View File

@@ -1,13 +1,13 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.entity.vo;
package cn.aftertrun.easypoi.excel.entity.vo;


/** /**
* @author xfworld * @author xfworld
* @since 2015-12-28 * @since 2015-12-28
* @version 1.0 * @version 1.0
* @see org.jeecgframework.poi.excel.entity.vo.BaseEntityTypeConstants
* @see cn.aftertrun.easypoi.excel.entity.vo.BaseEntityTypeConstants
* *
*/ */
public interface BaseEntityTypeConstants { public interface BaseEntityTypeConstants {

easypoi-base/src/main/java/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/entity/vo/PoiBaseConstants.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.entity.vo;
package cn.aftertrun.easypoi.excel.entity.vo;
/** /**
* 基础常量 * 基础常量

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/ExcelBatchExportServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/ExcelBatchExportServer.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.export;
package cn.aftertrun.easypoi.excel.export;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
@@ -11,14 +11,15 @@ import org.apache.poi.ss.usermodel.Drawing;
import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.streaming.SXSSFWorkbook; import org.apache.poi.xssf.streaming.SXSSFWorkbook;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.export.styler.IExcelExportStyler;
import org.jeecgframework.poi.exception.excel.ExcelExportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelExportEnum;
import org.jeecgframework.poi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.excel.entity.ExportParams;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.export.styler.IExcelExportStyler;
import cn.aftertrun.easypoi.exception.excel.ExcelExportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelExportEnum;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
/** /**
* 提供批次插入服务 * 提供批次插入服务

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/ExcelExportServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/ExcelExportServer.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export;
package cn.aftertrun.easypoi.excel.export;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
@@ -29,15 +29,16 @@ import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.export.base.ExcelExportBase;
import org.jeecgframework.poi.excel.export.styler.IExcelExportStyler;
import org.jeecgframework.poi.exception.excel.ExcelExportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelExportEnum;
import org.jeecgframework.poi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.excel.entity.ExportParams;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.export.base.ExcelExportBase;
import cn.aftertrun.easypoi.excel.export.styler.IExcelExportStyler;
import cn.aftertrun.easypoi.exception.excel.ExcelExportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelExportEnum;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
/** /**
* Excel导出服务 * Excel导出服务

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/base/ExcelExportBase.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/base/ExcelExportBase.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.base;
package cn.aftertrun.easypoi.excel.export.base;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.util.Collection; import java.util.Collection;
@@ -36,14 +36,15 @@ import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.xssf.usermodel.XSSFClientAnchor; import org.apache.poi.xssf.usermodel.XSSFClientAnchor;
import org.apache.poi.xssf.usermodel.XSSFRichTextString; import org.apache.poi.xssf.usermodel.XSSFRichTextString;
import org.jeecgframework.poi.cache.ImageCache;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.entity.vo.BaseEntityTypeConstants;
import org.jeecgframework.poi.excel.entity.vo.PoiBaseConstants;
import org.jeecgframework.poi.excel.export.styler.IExcelExportStyler;
import org.jeecgframework.poi.util.PoiMergeCellUtil;
import org.jeecgframework.poi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.cache.ImageCache;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.vo.BaseEntityTypeConstants;
import cn.aftertrun.easypoi.excel.entity.vo.PoiBaseConstants;
import cn.aftertrun.easypoi.excel.export.styler.IExcelExportStyler;
import cn.aftertrun.easypoi.util.PoiMergeCellUtil;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
/** /**
* 提供POI基础操作服务 * 提供POI基础操作服务

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/base/ExportBase.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/base/ExportBase.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.base;
package cn.aftertrun.easypoi.excel.export.base;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.lang.reflect.Method; import java.lang.reflect.Method;
@@ -28,18 +28,19 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.entity.vo.PoiBaseConstants;
import org.jeecgframework.poi.handler.inter.IExcelDataHandler;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.jeecgframework.poi.util.PoiReflectorUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.entity.ExportParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.vo.PoiBaseConstants;
import cn.aftertrun.easypoi.handler.inter.IExcelDataHandler;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiReflectorUtil;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
/** /**
* 导出基础处理,不设计POI,只设计对象,保证复用性 * 导出基础处理,不设计POI,只设计对象,保证复用性
* *

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/styler/AbstractExcelExportStyler.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/AbstractExcelExportStyler.java View File

@@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.styler;
package cn.aftertrun.easypoi.excel.export.styler;
import org.apache.poi.ss.usermodel.BuiltinFormats; import org.apache.poi.ss.usermodel.BuiltinFormats;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.entity.params.ExcelForEachParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.params.ExcelForEachParams;
/** /**
* 抽象接口提供两个公共方法 * 抽象接口提供两个公共方法

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/styler/ExcelExportStylerBorderImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerBorderImpl.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.styler;
package cn.aftertrun.easypoi.excel.export.styler;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Font; import org.apache.poi.ss.usermodel.Font;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/styler/ExcelExportStylerColorImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerColorImpl.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.styler;
package cn.aftertrun.easypoi.excel.export.styler;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Font; import org.apache.poi.ss.usermodel.Font;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/styler/ExcelExportStylerDefaultImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/ExcelExportStylerDefaultImpl.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.styler;
package cn.aftertrun.easypoi.excel.export.styler;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Font; import org.apache.poi.ss.usermodel.Font;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/styler/IExcelExportStyler.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/styler/IExcelExportStyler.java View File

@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.styler;
package cn.aftertrun.easypoi.excel.export.styler;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.entity.params.ExcelForEachParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.params.ExcelForEachParams;
/** /**
* Excel导出样式接口 * Excel导出样式接口

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/template/ExcelExportOfTemplateUtil.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/template/ExcelExportOfTemplateUtil.java View File

@@ -13,7 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.export.template;
package cn.aftertrun.easypoi.excel.export.template;
import static cn.aftertrun.easypoi.util.PoiElUtil.*;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
@@ -35,26 +37,24 @@ import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.cache.ExcelCache;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.excel.entity.TemplateExportParams;
import org.jeecgframework.poi.excel.entity.enmus.ExcelType;
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
import org.jeecgframework.poi.excel.entity.params.ExcelForEachParams;
import org.jeecgframework.poi.excel.export.base.ExcelExportBase;
import org.jeecgframework.poi.excel.export.styler.IExcelExportStyler;
import org.jeecgframework.poi.excel.export.template.TemplateSumHanlder.TemplateSumEntity;
import org.jeecgframework.poi.excel.html.helper.MergedRegionHelper;
import org.jeecgframework.poi.exception.excel.ExcelExportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelExportEnum;
import static org.jeecgframework.poi.util.PoiElUtil.*;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.jeecgframework.poi.util.PoiSheetUtility;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.cache.ExcelCache;
import cn.aftertrun.easypoi.excel.entity.TemplateExportParams;
import cn.aftertrun.easypoi.excel.entity.enmus.ExcelType;
import cn.aftertrun.easypoi.excel.entity.params.ExcelExportEntity;
import cn.aftertrun.easypoi.excel.entity.params.ExcelForEachParams;
import cn.aftertrun.easypoi.excel.export.base.ExcelExportBase;
import cn.aftertrun.easypoi.excel.export.styler.IExcelExportStyler;
import cn.aftertrun.easypoi.excel.export.template.TemplateSumHanlder.TemplateSumEntity;
import cn.aftertrun.easypoi.excel.html.helper.MergedRegionHelper;
import cn.aftertrun.easypoi.exception.excel.ExcelExportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelExportEnum;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiSheetUtility;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
/** /**
* Excel 导出根据模板导出 * Excel 导出根据模板导出
* *

easypoi-base/src/main/java/org/jeecgframework/poi/excel/export/template/TemplateSumHanlder.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/export/template/TemplateSumHanlder.java View File

@@ -1,4 +1,6 @@
package org.jeecgframework.poi.excel.export.template;
package cn.aftertrun.easypoi.excel.export.template;
import static cn.aftertrun.easypoi.util.PoiElUtil.*;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
@@ -9,9 +11,8 @@ import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Sheet;
import org.jeecgframework.poi.util.PoiCellUtil;
import static org.jeecgframework.poi.util.PoiElUtil.*;
import cn.aftertrun.easypoi.util.PoiCellUtil;
/** /**
* 针对模板统计问题做统一处理 * 针对模板统计问题做统一处理

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/builder/ExcelChartBuildService.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/builder/ExcelChartBuildService.java View File

@@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.builder;
package cn.aftertrun.easypoi.excel.graph.builder;


import java.util.List; import java.util.List;


@@ -22,16 +22,17 @@ import org.apache.poi.ss.usermodel.charts.LineChartData;
import org.apache.poi.ss.usermodel.charts.ScatterChartData; import org.apache.poi.ss.usermodel.charts.ScatterChartData;
import org.apache.poi.ss.usermodel.charts.ValueAxis; import org.apache.poi.ss.usermodel.charts.ValueAxis;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import org.jeecgframework.poi.excel.graph.constant.ExcelGraphElementType;
import org.jeecgframework.poi.excel.graph.constant.ExcelGraphType;
import org.jeecgframework.poi.excel.graph.entity.ExcelGraph;
import org.jeecgframework.poi.excel.graph.entity.ExcelGraphElement;
import org.jeecgframework.poi.excel.graph.entity.ExcelTitleCell;
import org.jeecgframework.poi.util.PoiCellUtil;
import org.jeecgframework.poi.util.PoiExcelGraphDataUtil;


import com.google.common.collect.Lists; import com.google.common.collect.Lists;


import cn.aftertrun.easypoi.excel.graph.constant.ExcelGraphElementType;
import cn.aftertrun.easypoi.excel.graph.constant.ExcelGraphType;
import cn.aftertrun.easypoi.excel.graph.entity.ExcelGraph;
import cn.aftertrun.easypoi.excel.graph.entity.ExcelGraphElement;
import cn.aftertrun.easypoi.excel.graph.entity.ExcelTitleCell;
import cn.aftertrun.easypoi.util.PoiCellUtil;
import cn.aftertrun.easypoi.util.PoiExcelGraphDataUtil;

/** /**
* @author xfworld * @author xfworld
* @since 2015-12-30 * @since 2015-12-30

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/constant/ExcelGraphElementType.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/constant/ExcelGraphElementType.java View File

@@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.constant;
package cn.aftertrun.easypoi.excel.graph.constant;


/** /**
* @author xfworld * @author xfworld

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/constant/ExcelGraphType.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/constant/ExcelGraphType.java View File

@@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.constant;
package cn.aftertrun.easypoi.excel.graph.constant;


/** /**
* @author xfworld * @author xfworld

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/entity/ExcelGraph.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraph.java View File

@@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.entity;
package cn.aftertrun.easypoi.excel.graph.entity;


import java.util.List; import java.util.List;



easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/entity/ExcelGraphDefined.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraphDefined.java View File

@@ -1,14 +1,14 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.entity;
package cn.aftertrun.easypoi.excel.graph.entity;


import java.util.List; import java.util.List;


import org.jeecgframework.poi.excel.graph.constant.ExcelGraphType;

import com.google.common.collect.Lists; import com.google.common.collect.Lists;


import cn.aftertrun.easypoi.excel.graph.constant.ExcelGraphType;

/** /**
* @author xfworld * @author xfworld
* @since 2015-12-30 * @since 2015-12-30

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/entity/ExcelGraphElement.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelGraphElement.java View File

@@ -1,9 +1,9 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.entity;
package cn.aftertrun.easypoi.excel.graph.entity;


import org.jeecgframework.poi.excel.graph.constant.ExcelGraphElementType;
import cn.aftertrun.easypoi.excel.graph.constant.ExcelGraphElementType;




/** /**

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/entity/ExcelTitleCell.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/entity/ExcelTitleCell.java View File

@@ -1,7 +1,7 @@
/** /**
* *
*/ */
package org.jeecgframework.poi.excel.graph.entity;
package cn.aftertrun.easypoi.excel.graph.entity;


/** /**
* @author xfowrld * @author xfowrld

easypoi-base/src/main/java/org/jeecgframework/poi/excel/graph/package-info.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/graph/package-info.java View File

@@ -7,4 +7,4 @@
* @version 1.0 * @version 1.0
* Excel 图形构造服务 * Excel 图形构造服务
*/ */
package org.jeecgframework.poi.excel.graph;
package cn.aftertrun.easypoi.excel.graph;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/ExcelToHtmlServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/ExcelToHtmlServer.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html;
package cn.aftertrun.easypoi.excel.html;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
@@ -20,14 +20,15 @@ import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.excel.entity.ExcelToHtmlParams;
import org.jeecgframework.poi.excel.html.helper.CellValueHelper;
import org.jeecgframework.poi.excel.html.helper.MergedRegionHelper;
import org.jeecgframework.poi.excel.html.helper.StylerHelper;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.entity.ExcelToHtmlParams;
import cn.aftertrun.easypoi.excel.html.helper.CellValueHelper;
import cn.aftertrun.easypoi.excel.html.helper.MergedRegionHelper;
import cn.aftertrun.easypoi.excel.html.helper.StylerHelper;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
/** /**
* Excel转换成Html 服务 * Excel转换成Html 服务
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/HtmlToExcelServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/HtmlToExcelServer.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html;
package cn.aftertrun.easypoi.excel.html;
import java.util.Map; import java.util.Map;
import java.util.List; import java.util.List;
@@ -11,6 +11,20 @@ import java.util.HashMap;
import java.util.LinkedList; import java.util.LinkedList;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.export.styler.ExcelExportStylerDefaultImpl;
import cn.aftertrun.easypoi.excel.html.css.CssParseServer;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.impl.AlignCssConvertImpl;
import cn.aftertrun.easypoi.excel.html.css.impl.BackgroundCssConvertImpl;
import cn.aftertrun.easypoi.excel.html.css.impl.BorderCssConverImpl;
import cn.aftertrun.easypoi.excel.html.css.impl.HeightCssConverImpl;
import cn.aftertrun.easypoi.excel.html.css.impl.TextCssConvertImpl;
import cn.aftertrun.easypoi.excel.html.css.impl.WidthCssConverImpl;
import cn.aftertrun.easypoi.excel.html.entity.ExcelCssConstant;
import cn.aftertrun.easypoi.excel.html.entity.HtmlCssConstant;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import org.jsoup.nodes.Element; import org.jsoup.nodes.Element;
import org.jsoup.select.Elements; import org.jsoup.select.Elements;
@@ -23,18 +37,6 @@ import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import org.jeecgframework.poi.excel.export.styler.ExcelExportStylerDefaultImpl;
import org.jeecgframework.poi.excel.html.css.CssParseServer;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.impl.AlignCssConvertImpl;
import org.jeecgframework.poi.excel.html.css.impl.BackgroundCssConvertImpl;
import org.jeecgframework.poi.excel.html.css.impl.BorderCssConverImpl;
import org.jeecgframework.poi.excel.html.css.impl.HeightCssConverImpl;
import org.jeecgframework.poi.excel.html.css.impl.TextCssConvertImpl;
import org.jeecgframework.poi.excel.html.css.impl.WidthCssConverImpl;
import org.jeecgframework.poi.excel.html.entity.ExcelCssConstant;
import org.jeecgframework.poi.excel.html.entity.HtmlCssConstant;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
/** /**
* 读取Table数据生成Excel * 读取Table数据生成Excel

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/CssParseServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/CssParseServer.java View File

@@ -1,6 +1,6 @@
package org.jeecgframework.poi.excel.html.css;
package cn.aftertrun.easypoi.excel.html.css;
import static org.jeecgframework.poi.excel.html.entity.HtmlCssConstant.*;
import static cn.aftertrun.easypoi.excel.html.entity.HtmlCssConstant.*;
import java.util.HashMap; import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
@@ -11,13 +11,14 @@ import java.util.regex.Pattern;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleBorderEntity;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.excel.html.entity.style.CssStyleFontEnity;
import org.jeecgframework.poi.util.PoiCssUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleBorderEntity;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.excel.html.entity.style.CssStyleFontEnity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
/** /**
* 把Css样式解析成对应的Model * 把Css样式解析成对应的Model
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/ICssConvertToExcel.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/ICssConvertToExcel.java View File

@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.css;
package cn.aftertrun.easypoi.excel.html.css;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
/** /**
* CSS Cell Style 转换类 * CSS Cell Style 转换类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/ICssConvertToHtml.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/ICssConvertToHtml.java View File

@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.css;
package cn.aftertrun.easypoi.excel.html.css;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
/** /**
* CSS Cell Style 转换类 * CSS Cell Style 转换类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/AlignCssConvertImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/AlignCssConvertImpl.java View File

@@ -1,11 +1,12 @@
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.HtmlCssConstant;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.HtmlCssConstant;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
public class AlignCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml { public class AlignCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml {

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/BackgroundCssConvertImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/BackgroundCssConvertImpl.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFCell;
@@ -7,10 +7,11 @@ import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFCellStyle; import org.apache.poi.xssf.usermodel.XSSFCellStyle;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.util.PoiCssUtils;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
public class BackgroundCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml { public class BackgroundCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml {

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/BorderCssConverImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/BorderCssConverImpl.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import static org.jeecgframework.poi.excel.html.entity.HtmlCssConstant.*;
import static cn.aftertrun.easypoi.excel.html.entity.HtmlCssConstant.*;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
@@ -27,14 +27,15 @@ import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFColor; import org.apache.poi.xssf.usermodel.XSSFColor;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleBorderEntity;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.util.PoiCssUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleBorderEntity;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
/** /**
* 边框转换实现类 * 边框转换实现类
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/HeightCssConverImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/HeightCssConverImpl.java View File

@@ -13,16 +13,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.util.PoiCssUtils;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
/** /**

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/TextCssConvertImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/TextCssConvertImpl.java View File

@@ -1,6 +1,6 @@
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import static org.jeecgframework.poi.excel.html.entity.HtmlCssConstant.*;
import static cn.aftertrun.easypoi.excel.html.entity.HtmlCssConstant.*;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFFont; import org.apache.poi.hssf.usermodel.HSSFFont;
@@ -13,10 +13,11 @@ import org.apache.poi.ss.usermodel.Font;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFColor; import org.apache.poi.xssf.usermodel.XSSFColor;
import org.apache.poi.xssf.usermodel.XSSFFont; import org.apache.poi.xssf.usermodel.XSSFFont;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.util.PoiCssUtils;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
public class TextCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml { public class TextCssConvertImpl implements ICssConvertToExcel, ICssConvertToHtml {

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/css/impl/WidthCssConverImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/css/impl/WidthCssConverImpl.java View File

@@ -13,16 +13,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.css.impl;
package cn.aftertrun.easypoi.excel.html.css.impl;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Sheet;
import org.jeecgframework.poi.excel.html.css.ICssConvertToExcel;
import org.jeecgframework.poi.excel.html.css.ICssConvertToHtml;
import org.jeecgframework.poi.excel.html.entity.style.CellStyleEntity;
import org.jeecgframework.poi.util.PoiCssUtils;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToExcel;
import cn.aftertrun.easypoi.excel.html.css.ICssConvertToHtml;
import cn.aftertrun.easypoi.excel.html.entity.style.CellStyleEntity;
import cn.aftertrun.easypoi.util.PoiCssUtils;
/** /**
* 列宽转换实现类 * 列宽转换实现类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/entity/ExcelCssConstant.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/ExcelCssConstant.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.entity;
package cn.aftertrun.easypoi.excel.html.entity;
/** /**
* Excel 自定义处理的自定义Html标签 * Excel 自定义处理的自定义Html标签

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/entity/HtmlCssConstant.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/HtmlCssConstant.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.entity;
package cn.aftertrun.easypoi.excel.html.entity;
public interface HtmlCssConstant { public interface HtmlCssConstant {

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/entity/style/CellStyleBorderEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CellStyleBorderEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.entity.style;
package cn.aftertrun.easypoi.excel.html.entity.style;
/** /**
* 边框样式 * 边框样式

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/entity/style/CellStyleEntity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CellStyleEntity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.entity.style;
package cn.aftertrun.easypoi.excel.html.entity.style;
/** /**
* Cell 具有的样式 * Cell 具有的样式

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/entity/style/CssStyleFontEnity.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/entity/style/CssStyleFontEnity.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.html.entity.style;
package cn.aftertrun.easypoi.excel.html.entity.style;
/** /**
* 字体样式 * 字体样式

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/helper/CellValueHelper.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/CellValueHelper.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html.helper;
package cn.aftertrun.easypoi.excel.html.helper;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/helper/MergedRegionHelper.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/MergedRegionHelper.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html.helper;
package cn.aftertrun.easypoi.excel.html.helper;
import java.util.HashMap; import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/helper/StylerHelper.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/StylerHelper.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.excel.html.helper;
package cn.aftertrun.easypoi.excel.html.helper;
import static org.apache.poi.ss.usermodel.CellStyle.ALIGN_CENTER; import static org.apache.poi.ss.usermodel.CellStyle.ALIGN_CENTER;
import static org.apache.poi.ss.usermodel.CellStyle.ALIGN_CENTER_SELECTION; import static org.apache.poi.ss.usermodel.CellStyle.ALIGN_CENTER_SELECTION;
@@ -34,7 +34,8 @@ import org.apache.poi.xssf.usermodel.XSSFCellStyle;
import org.apache.poi.xssf.usermodel.XSSFColor; import org.apache.poi.xssf.usermodel.XSSFColor;
import org.apache.poi.xssf.usermodel.XSSFFont; import org.apache.poi.xssf.usermodel.XSSFFont;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
/** /**
* 样式帮助类 * 样式帮助类

easypoi-base/src/main/java/org/jeecgframework/poi/excel/html/helper/excelStyle.css → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/html/helper/excelStyle.css View File


easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/CellValueServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/CellValueServer.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports;
package cn.aftertrun.easypoi.excel.imports;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.lang.reflect.Type; import java.lang.reflect.Type;
@@ -30,15 +30,16 @@ import java.util.Map;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.DateUtil; import org.apache.poi.ss.usermodel.DateUtil;
import org.jeecgframework.poi.excel.entity.params.ExcelImportEntity;
import org.jeecgframework.poi.excel.entity.sax.SaxReadCellEntity;
import org.jeecgframework.poi.exception.excel.ExcelImportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelImportEnum;
import org.jeecgframework.poi.handler.inter.IExcelDataHandler;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.entity.params.ExcelImportEntity;
import cn.aftertrun.easypoi.excel.entity.sax.SaxReadCellEntity;
import cn.aftertrun.easypoi.exception.excel.ExcelImportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelImportEnum;
import cn.aftertrun.easypoi.handler.inter.IExcelDataHandler;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
/** /**
* Cell 取值服务 * Cell 取值服务
* 判断类型处理数据 1.判断Excel中的类型 2.根据replace替换值 3.handler处理数据 4.判断返回类型转化数据返回 * 判断类型处理数据 1.判断Excel中的类型 2.根据replace替换值 3.handler处理数据 4.判断返回类型转化数据返回

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/ExcelImportServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/ExcelImportServer.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports;
package cn.aftertrun.easypoi.excel.imports;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
@@ -46,23 +46,24 @@ import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.entity.params.ExcelCollectionParams;
import org.jeecgframework.poi.excel.entity.params.ExcelImportEntity;
import org.jeecgframework.poi.excel.entity.result.ExcelImportResult;
import org.jeecgframework.poi.excel.entity.result.ExcelVerifyHanlderResult;
import org.jeecgframework.poi.excel.imports.base.ImportBaseService;
import org.jeecgframework.poi.exception.excel.ExcelImportException;
import org.jeecgframework.poi.exception.excel.enums.ExcelImportEnum;
import org.jeecgframework.poi.handler.inter.IExcelModel;
import org.jeecgframework.poi.util.PoiCellUtil;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.jeecgframework.poi.util.PoiReflectorUtil;
import org.jeecgframework.poi.util.PoiValidationUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import cn.aftertrun.easypoi.excel.entity.ImportParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelCollectionParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelImportEntity;
import cn.aftertrun.easypoi.excel.entity.result.ExcelImportResult;
import cn.aftertrun.easypoi.excel.entity.result.ExcelVerifyHanlderResult;
import cn.aftertrun.easypoi.excel.imports.base.ImportBaseService;
import cn.aftertrun.easypoi.exception.excel.ExcelImportException;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelImportEnum;
import cn.aftertrun.easypoi.handler.inter.IExcelModel;
import cn.aftertrun.easypoi.util.PoiCellUtil;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiReflectorUtil;
import cn.aftertrun.easypoi.util.PoiValidationUtil;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
/** /**
* Excel 导入服务 * Excel 导入服务
* *

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/base/ImportBaseService.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/base/ImportBaseService.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports.base;
package cn.aftertrun.easypoi.excel.imports.base;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
@@ -32,14 +32,15 @@ import java.util.Set;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.util.IOUtils; import org.apache.poi.util.IOUtils;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.entity.params.ExcelCollectionParams;
import org.jeecgframework.poi.excel.entity.params.ExcelImportEntity;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.jeecgframework.poi.util.PoiReflectorUtil;
import cn.aftertrun.easypoi.excel.entity.ImportParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelCollectionParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelImportEntity;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiReflectorUtil;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
/** /**
* 导入基础和,普通方法和Sax共用 * 导入基础和,普通方法和Sax共用

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/package-info.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/package-info.java View File

@@ -3,4 +3,4 @@
* @author JueYue * @author JueYue
* 2014年6月23日 下午11:05:59 * 2014年6月23日 下午11:05:59
*/ */
package org.jeecgframework.poi.excel.imports;
package cn.aftertrun.easypoi.excel.imports;

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/sax/SaxReadExcel.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/SaxReadExcel.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports.sax;
package cn.aftertrun.easypoi.excel.imports.sax;
import java.io.InputStream; import java.io.InputStream;
import java.util.Iterator; import java.util.Iterator;
@@ -22,11 +22,6 @@ import java.util.List;
import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.xssf.eventusermodel.XSSFReader; import org.apache.poi.xssf.eventusermodel.XSSFReader;
import org.apache.poi.xssf.model.SharedStringsTable; import org.apache.poi.xssf.model.SharedStringsTable;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.imports.sax.parse.ISaxRowRead;
import org.jeecgframework.poi.excel.imports.sax.parse.SaxRowRead;
import org.jeecgframework.poi.exception.excel.ExcelImportException;
import org.jeecgframework.poi.handler.inter.IExcelReadRowHanlder;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.xml.sax.ContentHandler; import org.xml.sax.ContentHandler;
@@ -35,6 +30,12 @@ import org.xml.sax.SAXException;
import org.xml.sax.XMLReader; import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory; import org.xml.sax.helpers.XMLReaderFactory;
import cn.aftertrun.easypoi.excel.entity.ImportParams;
import cn.aftertrun.easypoi.excel.imports.sax.parse.ISaxRowRead;
import cn.aftertrun.easypoi.excel.imports.sax.parse.SaxRowRead;
import cn.aftertrun.easypoi.exception.excel.ExcelImportException;
import cn.aftertrun.easypoi.handler.inter.IExcelReadRowHanlder;
/** /**
* 基于SAX Excel大数据读取,读取Excel 07版本,不支持图片读取 * 基于SAX Excel大数据读取,读取Excel 07版本,不支持图片读取
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/sax/SheetHandler.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/SheetHandler.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports.sax;
package cn.aftertrun.easypoi.excel.imports.sax;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
@@ -22,15 +22,16 @@ import java.util.List;
import org.apache.poi.hssf.usermodel.HSSFDateUtil; import org.apache.poi.hssf.usermodel.HSSFDateUtil;
import org.apache.poi.xssf.model.SharedStringsTable; import org.apache.poi.xssf.model.SharedStringsTable;
import org.apache.poi.xssf.usermodel.XSSFRichTextString; import org.apache.poi.xssf.usermodel.XSSFRichTextString;
import org.jeecgframework.poi.excel.entity.enmus.CellValueType;
import org.jeecgframework.poi.excel.entity.sax.SaxReadCellEntity;
import org.jeecgframework.poi.excel.imports.sax.parse.ISaxRowRead;
import org.xml.sax.Attributes; import org.xml.sax.Attributes;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler; import org.xml.sax.helpers.DefaultHandler;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import cn.aftertrun.easypoi.excel.entity.enmus.CellValueType;
import cn.aftertrun.easypoi.excel.entity.sax.SaxReadCellEntity;
import cn.aftertrun.easypoi.excel.imports.sax.parse.ISaxRowRead;
/** /**
* 回调接口 * 回调接口
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/sax/parse/ISaxRowRead.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/parse/ISaxRowRead.java View File

@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports.sax.parse;
package cn.aftertrun.easypoi.excel.imports.sax.parse;
import java.util.List; import java.util.List;
import org.jeecgframework.poi.excel.entity.sax.SaxReadCellEntity;
import cn.aftertrun.easypoi.excel.entity.sax.SaxReadCellEntity;
public interface ISaxRowRead { public interface ISaxRowRead {
/** /**

easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/sax/parse/SaxRowRead.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/imports/sax/parse/SaxRowRead.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.excel.imports.sax.parse;
package cn.aftertrun.easypoi.excel.imports.sax.parse;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
@@ -23,22 +23,23 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.entity.params.ExcelCollectionParams;
import org.jeecgframework.poi.excel.entity.params.ExcelImportEntity;
import org.jeecgframework.poi.excel.entity.sax.SaxReadCellEntity;
import org.jeecgframework.poi.excel.imports.CellValueServer;
import org.jeecgframework.poi.excel.imports.base.ImportBaseService;
import org.jeecgframework.poi.exception.excel.ExcelImportException;
import org.jeecgframework.poi.handler.inter.IExcelReadRowHanlder;
import org.jeecgframework.poi.util.PoiPublicUtil;
import org.jeecgframework.poi.util.PoiReflectorUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import cn.aftertrun.easypoi.excel.entity.ImportParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelCollectionParams;
import cn.aftertrun.easypoi.excel.entity.params.ExcelImportEntity;
import cn.aftertrun.easypoi.excel.entity.sax.SaxReadCellEntity;
import cn.aftertrun.easypoi.excel.imports.CellValueServer;
import cn.aftertrun.easypoi.excel.imports.base.ImportBaseService;
import cn.aftertrun.easypoi.exception.excel.ExcelImportException;
import cn.aftertrun.easypoi.handler.inter.IExcelReadRowHanlder;
import cn.aftertrun.easypoi.util.PoiPublicUtil;
import cn.aftertrun.easypoi.util.PoiReflectorUtil;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
/** /**
* 当行读取数据 * 当行读取数据
* @author JueYue * @author JueYue

easypoi-base/src/main/java/org/jeecgframework/poi/excel/package-info.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/excel/package-info.java View File

@@ -18,4 +18,4 @@
* @author JueYue * @author JueYue
* 2014年6月20日 上午12:08:09 * 2014年6月20日 上午12:08:09
*/ */
package org.jeecgframework.poi.excel;
package cn.aftertrun.easypoi.excel;

easypoi-base/src/main/java/org/jeecgframework/poi/exception/excel/ExcelExportException.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/ExcelExportException.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.excel;
package cn.aftertrun.easypoi.exception.excel;
import org.jeecgframework.poi.exception.excel.enums.ExcelExportEnum;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelExportEnum;
/** /**
* 导出异常 * 导出异常

easypoi-base/src/main/java/org/jeecgframework/poi/exception/excel/ExcelImportException.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/ExcelImportException.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.excel;
package cn.aftertrun.easypoi.exception.excel;
import org.jeecgframework.poi.exception.excel.enums.ExcelImportEnum;
import cn.aftertrun.easypoi.exception.excel.enums.ExcelImportEnum;
/** /**
* 导入异常 * 导入异常

easypoi-base/src/main/java/org/jeecgframework/poi/exception/excel/enums/ExcelExportEnum.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/enums/ExcelExportEnum.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.excel.enums;
package cn.aftertrun.easypoi.exception.excel.enums;
/** /**
* 导出异常类型枚举 * 导出异常类型枚举

easypoi-base/src/main/java/org/jeecgframework/poi/exception/excel/enums/ExcelImportEnum.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/excel/enums/ExcelImportEnum.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.excel.enums;
package cn.aftertrun.easypoi.exception.excel.enums;
/** /**
* 导出异常类型枚举 * 导出异常类型枚举

easypoi-base/src/main/java/org/jeecgframework/poi/exception/word/WordExportException.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/word/WordExportException.java View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.word;
package cn.aftertrun.easypoi.exception.word;
import org.jeecgframework.poi.exception.word.enmus.WordExportEnum;
import cn.aftertrun.easypoi.exception.word.enmus.WordExportEnum;
/** /**
* word导出异常 * word导出异常

easypoi-base/src/main/java/org/jeecgframework/poi/exception/word/enmus/WordExportEnum.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/exception/word/enmus/WordExportEnum.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.exception.word.enmus;
package cn.aftertrun.easypoi.exception.word.enmus;
/** /**
* 导出异常枚举 * 导出异常枚举

easypoi-base/src/main/java/org/jeecgframework/poi/handler/impl/ExcelDataHandlerDefaultImpl.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/impl/ExcelDataHandlerDefaultImpl.java View File

@@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.handler.impl;
package cn.aftertrun.easypoi.handler.impl;
import java.util.Map; import java.util.Map;
import org.apache.poi.ss.usermodel.CreationHelper; import org.apache.poi.ss.usermodel.CreationHelper;
import org.apache.poi.ss.usermodel.Hyperlink; import org.apache.poi.ss.usermodel.Hyperlink;
import org.jeecgframework.poi.handler.inter.IExcelDataHandler;
import cn.aftertrun.easypoi.handler.inter.IExcelDataHandler;
/** /**
* 数据处理默认实现,返回空 * 数据处理默认实现,返回空

easypoi-base/src/main/java/org/jeecgframework/poi/handler/impl/package-info.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/impl/package-info.java View File

@@ -3,4 +3,4 @@
* @author JueYue * @author JueYue
* 2014年6月20日 上午12:09:27 * 2014年6月20日 上午12:09:27
*/ */
package org.jeecgframework.poi.handler.impl;
package cn.aftertrun.easypoi.handler.impl;

easypoi-base/src/main/java/org/jeecgframework/poi/handler/inter/IExcelDataHandler.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelDataHandler.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.handler.inter;
package cn.aftertrun.easypoi.handler.inter;
import java.util.Map; import java.util.Map;

easypoi-base/src/main/java/org/jeecgframework/poi/handler/inter/IExcelExportServer.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelExportServer.java View File

@@ -1,4 +1,4 @@
package org.jeecgframework.poi.handler.inter;
package cn.aftertrun.easypoi.handler.inter;
import java.util.List; import java.util.List;

easypoi-base/src/main/java/org/jeecgframework/poi/handler/inter/IExcelModel.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelModel.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.handler.inter;
package cn.aftertrun.easypoi.handler.inter;
/** /**
* Excel标记类 * Excel标记类

easypoi-base/src/main/java/org/jeecgframework/poi/handler/inter/IExcelReadRowHanlder.java → easypoi-base/src/main/java/cn/aftertrun/easypoi/handler/inter/IExcelReadRowHanlder.java View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jeecgframework.poi.handler.inter;
package cn.aftertrun.easypoi.handler.inter;
/** /**
* 接口自定义处理类 * 接口自定义处理类

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save