public interface GenerateContext
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildSheet(Sheet sheet)
构建一个sheet
|
void |
buildTable(Table table)
构建一个Table
|
org.apache.poi.ss.usermodel.CellStyle |
getCurrentContentStyle()
获取内容样式
|
org.apache.poi.ss.usermodel.CellStyle |
getCurrentHeadCellStyle()
获取表头样式
|
org.apache.poi.ss.usermodel.Sheet |
getCurrentSheet()
返回当前sheet
|
HeadProperty |
getExcelHeadProperty()
返回表头信息
|
org.apache.poi.ss.usermodel.Workbook |
getWorkbook()
返回WorkBook
|
boolean |
needHead() |
org.apache.poi.ss.usermodel.Sheet getCurrentSheet()
org.apache.poi.ss.usermodel.CellStyle getCurrentHeadCellStyle()
org.apache.poi.ss.usermodel.CellStyle getCurrentContentStyle()
org.apache.poi.ss.usermodel.Workbook getWorkbook()
void buildSheet(Sheet sheet)
sheet - void buildTable(Table table)
table - HeadProperty getExcelHeadProperty()
boolean needHead()
Copyright © 2018. All rights reserved.