类 AbstractHeadColumnWidthStyleStrategy
java.lang.Object
com.sh.wf.excel.write.style.column.AbstractColumnWidthStyleStrategy
com.sh.wf.excel.write.style.column.AbstractHeadColumnWidthStyleStrategy
- 所有已实现的接口:
Handler,NotRepeatExecutor,CellWriteHandler,WriteHandler
- 直接已知子类:
SimpleColumnWidthStyleStrategy
Returns the column width according to each column header
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract IntegercolumnWidth(Head head, Integer columnIndex) Returns the column width corresponding to each column head.protected voidsetColumnWidth(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从类继承的方法 com.sh.wf.excel.write.style.column.AbstractColumnWidthStyleStrategy
afterCellCreate, afterCellDispose, beforeCellCreate, uniqueValue
-
构造器详细资料
-
AbstractHeadColumnWidthStyleStrategy
public AbstractHeadColumnWidthStyleStrategy()
-
-
方法详细资料
-
setColumnWidth
protected void setColumnWidth(WriteSheetHolder writeSheetHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead) 从类复制的说明:AbstractColumnWidthStyleStrategySets the column width when head create -
columnWidth
Returns the column width corresponding to each column head.if return null,ignore
- 参数:
head- Nullable.columnIndex- Not null.- 返回:
-