接口 WriteContext

所有已知实现类:
WriteContextImpl

public interface WriteContext
Write context
  • 方法详细资料

    • currentSheet

      void currentSheet(WriteSheet writeSheet, WriteTypeEnum writeType)
      If the current sheet already exists, select it; if not, create it
      参数:
      writeSheet - Current sheet
      writeType - WriteTypeEnum
    • currentTable

      void currentTable(WriteTable writeTable)
      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

      @Deprecated org.apache.poi.ss.usermodel.Sheet getCurrentSheet()
      已过时。
      Current sheet
      返回:
      Sheet
    • needHead

      @Deprecated boolean needHead()
      已过时。
      Need head
      返回:
      boolean
    • getOutputStream

      @Deprecated OutputStream getOutputStream()
      已过时。
      please us ewriteWorkbookHolder() ()}
      Get outputStream
      返回:
      OutputStream
    • getWorkbook

      @Deprecated org.apache.poi.ss.usermodel.Workbook getWorkbook()
      已过时。
      please us ewriteWorkbookHolder() ()}
      Get workbook
      返回:
      Workbook