类 LongestMatchColumnWidthStyleStrategy
java.lang.Object
com.sh.wf.excel.write.style.column.AbstractColumnWidthStyleStrategy
com.sh.wf.excel.write.style.column.LongestMatchColumnWidthStyleStrategy
- 所有已实现的接口:
Handler,NotRepeatExecutor,CellWriteHandler,WriteHandler
Take the width of the longest column as the width.
This is not very useful at the moment, for example if you have Numbers it will cause a newline.And the length is not exactly the same as the actual length.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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
-
构造器详细资料
-
LongestMatchColumnWidthStyleStrategy
public LongestMatchColumnWidthStyleStrategy()
-
-
方法详细资料
-
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
-