Class Writer

java.lang.Object
cn.creekmoon.excel.core.W.Writer
Direct Known Subclasses:
TitleWriter

public abstract class Writer extends Object
  • Field Details

    • sheetIndex

      protected Integer sheetIndex
    • sheetName

      protected String sheetName
  • Constructor Details

    • Writer

      public Writer()
  • Method Details

    • getWorkbook

      public abstract org.apache.poi.ss.usermodel.Workbook getWorkbook()
    • getRunningTimeCellStyle

      protected abstract org.apache.poi.ss.usermodel.CellStyle getRunningTimeCellStyle(ExcelCellStyle style)
      获取运行时的样式对象
    • onWrite

      protected void onWrite()
      声明周期钩子函数, 当写入数据时
    • onSwitchSheet

      protected void onSwitchSheet()
      声明周期钩子函数, 当切换sheet页时
    • onStopWrite

      protected void onStopWrite()
      声明周期钩子函数, 当执行stopWrite时