类 WriteContextImpl
java.lang.Object
com.sh.wf.excel.context.WriteContextImpl
- 所有已实现的接口:
WriteContext
A context is the main anchorage point of a excel writer.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.SheetCurrent sheetGet outputStreamorg.apache.poi.ss.usermodel.WorkbookGet workbookvoidinitHead(ExcelWriteHeadProperty excelWriteHeadProperty) booleanneedHead()Need headAll 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
-
构造器详细资料
-
WriteContextImpl
-
-
方法详细资料
-
currentSheet
从接口复制的说明:WriteContextIf the current sheet already exists, select it; if not, create it- 指定者:
currentSheet在接口中WriteContext- 参数:
writeSheet- WriteSheetwriteType- WriteTypeEnum
-
initHead
-
currentTable
从接口复制的说明:WriteContextIf the current table already exists, select it; if not, create it- 指定者:
currentTable在接口中WriteContext- 参数:
writeTable- WriteTable
-
writeWorkbookHolder
从接口复制的说明:WriteContextAll information about the workbook you are currently working on- 指定者:
writeWorkbookHolder在接口中WriteContext- 返回:
- WriteSheetHolder
-
writeSheetHolder
从接口复制的说明:WriteContextAll information about the sheet you are currently working on- 指定者:
writeSheetHolder在接口中WriteContext- 返回:
- WriteSheetHolder
-
writeTableHolder
从接口复制的说明:WriteContextAll information about the table you are currently working on- 指定者:
writeTableHolder在接口中WriteContext- 返回:
- WriteTableHolder
-
currentWriteHolder
从接口复制的说明:WriteContextConfiguration of currently operated cell. May be 'writeSheetHolder' or 'writeTableHolder' or 'writeWorkbookHolder'- 指定者:
currentWriteHolder在接口中WriteContext- 返回:
- WriteHolder
-
finish
public void finish(boolean onException) 从接口复制的说明:WriteContextclose- 指定者:
finish在接口中WriteContext- 参数:
onException- boolean
-
getCurrentSheet
public org.apache.poi.ss.usermodel.Sheet getCurrentSheet()从接口复制的说明:WriteContextCurrent sheet- 指定者:
getCurrentSheet在接口中WriteContext- 返回:
- Sheet
-
needHead
public boolean needHead()从接口复制的说明:WriteContextNeed head- 指定者:
needHead在接口中WriteContext- 返回:
- boolean
-
getOutputStream
从接口复制的说明:WriteContextGet outputStream- 指定者:
getOutputStream在接口中WriteContext- 返回:
- OutputStream
-
getWorkbook
public org.apache.poi.ss.usermodel.Workbook getWorkbook()从接口复制的说明:WriteContextGet workbook- 指定者:
getWorkbook在接口中WriteContext- 返回:
- Workbook
-