54

GitHub - liaochong/html2excel: Html2excel, a toolkit for generating excel of arb...

 5 years ago
source link: https://github.com/liaochong/html2excel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Html2excel Project

Build Status Maven Central License Average time to resolve an issue Percentage of issues still open

文档 | Document

https://github.com/liaochong/html2excel/wiki

优点 | Advantages

  • 零学习成本:使用html作为模板,学习成本几乎为零;
  • 可生成任意复杂表格:本工具使用迭代单元格方式进行excel绘制,可生成任意复杂度excel;
  • 支持常用背景色、边框、字体等样式设置:具体参见下方Style-support(样式支持)部分;
  • 支持.XLS、.XLSX:支持生成.xls、.xlsx后缀的excel;
  • 支持低内存SXSSF模式:支持低内存的SXSSF模式,可利用极低的内存生成.xlsx;
  • 屏蔽POI操作:不直接操作过重的POI;
  • 支持多种模板引擎:支持Freemarker、Groovy、Beetl等常用模板引擎,默认内置Beetl模板引擎(推荐引擎,Beetl文档);
  • 提供默认模板引擎,直接输出简单excel:无需编写任何html,已内置默认模板,可直接根据POJO数据列表输出;
  • 支持一次生成多sheet:以table作为sheet单元,支持一份excel文档中多sheet;

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK