-
Notifications
You must be signed in to change notification settings - Fork 325
Home
清沐 edited this page Feb 19, 2022
·
121 revisions
Myexcel is a toolkit which can import, export and encrypt excel.
-
Import: Provide a simple API to read excel in low memory and convert it to
List<Bean>
orList<Map>
. -
Export: It can quickly export a simple list of massive data, and generate excel with high complexity layout. Complex layout refers to a variety of irregular merged cells, background color, font size, italics, drop-down list, etc., which can be automatically divided into Excel to generate zip package.
Test file, 24.3m excel, 500000 lines, 8 columns, 40 cycles of reading, the average memory occupation is about 75 megabytes, compared with the same file test of Alibaba easyexcel (v2.1.6), the memory occupation is about one third of easyexcel.
- Generate any complex table: This library uses iterative cell method to draw excel, which can generate any complexity excel and provide multiple width strategies.
- Completely shield POI complexity: Using HTML as a template, the learning cost is almost zero, no need to care about any operation of POI itself, and a large number of default template free operations are provided.
- Support common background color, border, font and other style settings: See the menu style support section for details.
- Very low memory reading and exporting super large Excel: Very low memory reading and exporting super large Excel.
- Support producer consumer mode export: It supports the export of producer consumer mode, and does not need to obtain all data at one time. Batch data acquisition and sxssf mode are used to realize the real export of massive data.
- Support for multiple template engines: Built in common template engines, such as FreeMarker, groovy, Beetl and thymeleaf, excel Builder (see the document for detailsGetting started), the Beetl template engine is recommended(Beetl文档).
-
Overview
概述 -
FAQ
常见问题 -
Dependency adding
依赖添加 -
Excel/Csv import
Excel/Csv导入 - 一对多导入
-
Excel default export
默认导出 -
Excel streaming export
流式导出 -
Dynamic export
动态导出 -
Excel template build
模板构建 -
CSV export
csv导出 -
Multiple sheet import
多sheet导入 -
Multiple sheet export
多sheet导出 - 聚合列&聚合导出
-
Custom style
自定义样式 -
Multilevel header
多级表头 -
Wrap within cell
单元格内换行 -
Image export
图片导出 -
Image import
图片导入 -
Hyperlink
链接 - 读取链接
-
Template row height setting
模板行高度设置 -
Drop-down-list
下拉列表 -
Custom convert
写入自定义转化 -
Formula usage
公式使用 -
Template cell setting
单元格设置 -
Header freeze
区域冻结 - 提示
-
Style support
样式支持 - 添加水印
- 按列读取
- 单元格斜线绘制
- 设置批注
- 版本日志