mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
853 B
35 lines
853 B
package com.alibaba.excel.context; |
|
|
|
import java.io.OutputStream; |
|
|
|
import org.apache.poi.ss.usermodel.CellStyle; |
|
import org.apache.poi.ss.usermodel.Sheet; |
|
import org.apache.poi.ss.usermodel.Workbook; |
|
|
|
import com.alibaba.excel.converters.ConverterRegistryCenter; |
|
import com.alibaba.excel.event.WriteHandler; |
|
import com.alibaba.excel.metadata.ExcelHeadProperty; |
|
import com.alibaba.excel.metadata.Table; |
|
|
|
public interface WriteContext { |
|
|
|
Sheet getCurrentSheet(); |
|
|
|
boolean needHead(); |
|
|
|
ExcelHeadProperty getExcelHeadProperty(); |
|
|
|
void currentSheet(com.alibaba.excel.metadata.Sheet sheet); |
|
|
|
void currentTable(Table table); |
|
|
|
OutputStream getOutputStream(); |
|
|
|
Workbook getWorkbook(); |
|
|
|
WriteHandler getWriteHandler(); |
|
|
|
CellStyle getCurrentContentStyle(); |
|
|
|
ConverterRegistryCenter getConverterRegistryCenter(); |
|
}
|
|
|