接口 CellWriteHandler

所有超级接口:
Handler, WriteHandler
所有已知实现类:
AbstractCellStyleStrategy, AbstractColumnWidthStyleStrategy, AbstractHeadColumnWidthStyleStrategy, AbstractMergeStrategy, AbstractVerticalCellStyleStrategy, HorizontalCellStyleStrategy, LongestMatchColumnWidthStyleStrategy, LoopMergeStrategy, OnceAbsoluteMergeStrategy, SimpleColumnWidthStyleStrategy

public interface CellWriteHandler extends WriteHandler
  • 方法详细资料

    • beforeCellCreate

      void beforeCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Head head, Integer columnIndex, Integer relativeRowIndex, Boolean isHead)
      Called before create the cell
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      row - Row
      head - Nullable.It is null in the case of fill data and without head.
      columnIndex - Integer
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - It will always be false when fill data.
    • afterCellCreate

      void afterCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
      Called after the cell is created
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      cell - Cell
      head - Nullable.It is null in the case of fill data and without head.
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - It will always be false when fill data.
    • afterCellDispose

      void afterCellDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
      Called after all operations on the cell have been completed
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      cell - Cell
      head - Nullable.It is null in the case of fill data and without head.
      cellDataList - Nullable.It is null in the case of add header.There may be several when fill the data.
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - It will always be false when fill data.