public static interface ExcelWriter.Provider
| 限定符和类型 | 方法和说明 |
|---|---|
List<ExcelCell> |
provideCells(ExcelSheet sheet,
ExcelRow row)
提供某行的所有单元格,必须按顺序,可以不连续
|
ExcelRow |
provideRow(ExcelSheet sheet,
int lastRowIndex)
是否还有row信息
|
ExcelSheet |
provideSheet(int lastSheetIndex)
是否还有sheets信息
|
ExcelWriter.Version |
version()
导出的excel版本
|
@Nonnull ExcelWriter.Version version()
@Nullable ExcelSheet provideSheet(int lastSheetIndex)
lastSheetIndex - 上一个sheet的序号,从-1开始@Nullable ExcelRow provideRow(@Nonnull ExcelSheet sheet, int lastRowIndex)
sheet - 当前sheetlastRowIndex - 上一个row的序号,初始为-1Copyright © 2019. All rights reserved.