类 AbstractColumnWidthStyleStrategy

java.lang.Object
com.sh.wf.excel.write.style.column.AbstractColumnWidthStyleStrategy
所有已实现的接口:
Handler, NotRepeatExecutor, CellWriteHandler, WriteHandler
直接已知子类:
AbstractHeadColumnWidthStyleStrategy, LongestMatchColumnWidthStyleStrategy

public abstract class AbstractColumnWidthStyleStrategy extends Object implements CellWriteHandler, NotRepeatExecutor
  • 构造器详细资料

    • AbstractColumnWidthStyleStrategy

      public AbstractColumnWidthStyleStrategy()
  • 方法详细资料

    • uniqueValue

      public String uniqueValue()
      从接口复制的说明: NotRepeatExecutor
      To see if it's the same executor
      指定者:
      uniqueValue 在接口中 NotRepeatExecutor
      返回:
      String
    • beforeCellCreate

      public void beforeCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Head head, Integer columnIndex, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: CellWriteHandler
      Called before create the cell
      指定者:
      beforeCellCreate 在接口中 CellWriteHandler
      参数:
      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

      public void afterCellCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: CellWriteHandler
      Called after the cell is created
      指定者:
      afterCellCreate 在接口中 CellWriteHandler
      参数:
      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

      public void afterCellDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: CellWriteHandler
      Called after all operations on the cell have been completed
      指定者:
      afterCellDispose 在接口中 CellWriteHandler
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      cellDataList - Nullable.It is null in the case of add header.There may be several when fill the data.
      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.
    • setColumnWidth

      protected abstract void setColumnWidth(WriteSheetHolder writeSheetHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
      Sets the column width when head create
      参数:
      writeSheetHolder -
      cellDataList -
      cell -
      head -
      relativeRowIndex -
      isHead -