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)
WriteContextcurrentSheet 在接口中 WriteContextwriteSheet - public void initHead(ExcelWriteHeadProperty excelWriteHeadProperty)
public void currentTable(WriteTable writeTable)
WriteContextcurrentTable 在接口中 WriteContextpublic WriteWorkbookHolder writeWorkbookHolder()
WriteContextwriteWorkbookHolder 在接口中 WriteContextpublic WriteSheetHolder writeSheetHolder()
WriteContextwriteSheetHolder 在接口中 WriteContextpublic WriteTableHolder writeTableHolder()
WriteContextwriteTableHolder 在接口中 WriteContextpublic WriteHolder currentWriteHolder()
WriteContextcurrentWriteHolder 在接口中 WriteContextpublic void finish(boolean onException)
WriteContextfinish 在接口中 WriteContextpublic org.apache.poi.ss.usermodel.Sheet getCurrentSheet()
WriteContextgetCurrentSheet 在接口中 WriteContextpublic boolean needHead()
WriteContextneedHead 在接口中 WriteContextpublic OutputStream getOutputStream()
WriteContextgetOutputStream 在接口中 WriteContextpublic org.apache.poi.ss.usermodel.Workbook getWorkbook()
WriteContextgetWorkbook 在接口中 WriteContextCopyright © 2018–2021 Alibaba Group. All rights reserved.