接口 WriteContext
- 所有已知实现类:
WriteContextImpl
public interface WriteContext
Write context
-
方法概要
修饰符和类型方法说明voidcurrentSheet(WriteSheet writeSheet, WriteTypeEnum writeType) If the current sheet already exists, select it; if not, create itvoidcurrentTable(WriteTable writeTable) If the current table already exists, select it; if not, create itConfiguration of currently operated cell.voidfinish(boolean onException) closeorg.apache.poi.ss.usermodel.Sheet已过时。已过时。please us ewriteWorkbookHolder()()}org.apache.poi.ss.usermodel.Workbook已过时。please us ewriteWorkbookHolder()()}booleanneedHead()已过时。please us ewriteSheetHolder()All information about the sheet you are currently working onAll information about the table you are currently working onAll information about the workbook you are currently working on
-
方法详细资料
-
currentSheet
If the current sheet already exists, select it; if not, create it- 参数:
writeSheet- Current sheetwriteType- WriteTypeEnum
-
currentTable
If the current table already exists, select it; if not, create it- 参数:
writeTable- WriteTable
-
writeWorkbookHolder
WriteWorkbookHolder writeWorkbookHolder()All information about the workbook you are currently working on- 返回:
- WriteSheetHolder
-
writeSheetHolder
WriteSheetHolder writeSheetHolder()All information about the sheet you are currently working on- 返回:
- WriteSheetHolder
-
writeTableHolder
WriteTableHolder writeTableHolder()All information about the table you are currently working on- 返回:
- WriteTableHolder
-
currentWriteHolder
WriteHolder currentWriteHolder()Configuration of currently operated cell. May be 'writeSheetHolder' or 'writeTableHolder' or 'writeWorkbookHolder'- 返回:
- WriteHolder
-
finish
void finish(boolean onException) close- 参数:
onException- boolean
-
getCurrentSheet
已过时。please us ewriteSheetHolder()Current sheet- 返回:
- Sheet
-
needHead
已过时。please us ewriteSheetHolder()Need head- 返回:
- boolean
-
getOutputStream
已过时。please us ewriteWorkbookHolder()()}Get outputStream- 返回:
- OutputStream
-
getWorkbook
已过时。please us ewriteWorkbookHolder()()}Get workbook- 返回:
- Workbook
-
writeSheetHolder()