类 AbstractRowHeightStyleStrategy

java.lang.Object
com.sh.wf.excel.write.style.row.AbstractRowHeightStyleStrategy
所有已实现的接口:
Handler, NotRepeatExecutor, RowWriteHandler, WriteHandler
直接已知子类:
SimpleRowHeightStyleStrategy

public abstract class AbstractRowHeightStyleStrategy extends Object implements RowWriteHandler, NotRepeatExecutor
Set the row height strategy
  • 构造器详细资料

    • AbstractRowHeightStyleStrategy

      public AbstractRowHeightStyleStrategy()
  • 方法详细资料

    • uniqueValue

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

      public void beforeRowCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, Integer rowIndex, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: RowWriteHandler
      Called before create the row
      指定者:
      beforeRowCreate 在接口中 RowWriteHandler
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      rowIndex - Integer
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - Nullable.It is null in the case of fill data.
    • afterRowCreate

      public void afterRowCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: RowWriteHandler
      Called after the row is created
      指定者:
      afterRowCreate 在接口中 RowWriteHandler
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      row - Row
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - Nullable.It is null in the case of fill data.
    • afterRowDispose

      public void afterRowDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Integer relativeRowIndex, Boolean isHead)
      从接口复制的说明: RowWriteHandler
      Called after all operations on the row have been completed.This method is not called when fill the data.
      指定者:
      afterRowDispose 在接口中 RowWriteHandler
      参数:
      writeSheetHolder - WriteSheetHolder
      writeTableHolder - Nullable.It is null without using table writes.
      row - Row
      relativeRowIndex - Nullable.It is null in the case of fill data.
      isHead - Nullable.It is null in the case of fill data.
    • setHeadColumnHeight

      protected abstract void setHeadColumnHeight(org.apache.poi.ss.usermodel.Row row, int relativeRowIndex)
      Sets the height of header
      参数:
      row -
      relativeRowIndex -
    • setContentColumnHeight

      protected abstract void setContentColumnHeight(org.apache.poi.ss.usermodel.Row row, int relativeRowIndex)
      Sets the height of content
      参数:
      row -
      relativeRowIndex -