public class WriteContextImpl extends Object implements WriteContext
构造器和说明 |
---|
WriteContextImpl(WriteWorkbook writeWorkbook) |
限定符和类型 | 方法和说明 |
---|---|
void |
currentSheet(WriteSheet writeSheet,
WriteTypeEnum writeType)
If the current sheet already exists, select it; if not, create it
|
void |
currentTable(WriteTable writeTable)
If the current table already exists, select it; if not, create it
|
WriteHolder |
currentWriteHolder()
Configuration of currently operated cell.
|
void |
finish(boolean onException)
close
|
org.apache.poi.ss.usermodel.Sheet |
getCurrentSheet()
Current sheet
|
OutputStream |
getOutputStream()
Get outputStream
|
org.apache.poi.ss.usermodel.Workbook |
getWorkbook()
Get workbook
|
void |
initHead(ExcelWriteHeadProperty excelWriteHeadProperty) |
boolean |
needHead()
Need head
|
WriteSheetHolder |
writeSheetHolder()
All information about the sheet you are currently working on
|
WriteTableHolder |
writeTableHolder()
All information about the table you are currently working on
|
WriteWorkbookHolder |
writeWorkbookHolder()
All information about the workbook you are currently working on
|
public WriteContextImpl(WriteWorkbook writeWorkbook)
public void currentSheet(WriteSheet writeSheet, WriteTypeEnum writeType)
WriteContext
currentSheet
在接口中 WriteContext
writeSheet
- public void initHead(ExcelWriteHeadProperty excelWriteHeadProperty)
public void currentTable(WriteTable writeTable)
WriteContext
currentTable
在接口中 WriteContext
public WriteWorkbookHolder writeWorkbookHolder()
WriteContext
writeWorkbookHolder
在接口中 WriteContext
public WriteSheetHolder writeSheetHolder()
WriteContext
writeSheetHolder
在接口中 WriteContext
public WriteTableHolder writeTableHolder()
WriteContext
writeTableHolder
在接口中 WriteContext
public WriteHolder currentWriteHolder()
WriteContext
currentWriteHolder
在接口中 WriteContext
public void finish(boolean onException)
WriteContext
finish
在接口中 WriteContext
public org.apache.poi.ss.usermodel.Sheet getCurrentSheet()
WriteContext
getCurrentSheet
在接口中 WriteContext
public boolean needHead()
WriteContext
needHead
在接口中 WriteContext
public OutputStream getOutputStream()
WriteContext
getOutputStream
在接口中 WriteContext
public org.apache.poi.ss.usermodel.Workbook getWorkbook()
WriteContext
getWorkbook
在接口中 WriteContext
Copyright © 2018–2021 Alibaba Group. All rights reserved.