类 CustomCellWriteWidthConfig
java.lang.Object
com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
com.sie.mbm.mom.framework.excel.handler.CustomCellWriteWidthConfig
- 所有已实现的接口:
com.alibaba.excel.event.Handler,com.alibaba.excel.event.Order,com.alibaba.excel.write.handler.CellWriteHandler,com.alibaba.excel.write.handler.WriteHandler
public class CustomCellWriteWidthConfig
extends com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private IntegerdataLength(List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Boolean isHead) 计算长度protected voidsetColumnWidth(com.alibaba.excel.write.metadata.holder.WriteSheetHolder writeSheetHolder, List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList, org.apache.poi.ss.usermodel.Cell cell, com.alibaba.excel.metadata.Head head, Integer integer, Boolean isHead) 从类继承的方法 com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
afterCellDispose, setColumnWidth从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.excel.write.handler.CellWriteHandler
afterCellCreate, afterCellCreate, afterCellDataConverted, afterCellDataConverted, afterCellDispose, beforeCellCreate, beforeCellCreate从接口继承的方法 com.alibaba.excel.event.Handler
order
-
字段详细资料
-
CACHE
-
-
构造器详细资料
-
CustomCellWriteWidthConfig
public CustomCellWriteWidthConfig()
-
-
方法详细资料
-
setColumnWidth
protected void setColumnWidth(com.alibaba.excel.write.metadata.holder.WriteSheetHolder writeSheetHolder, List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList, org.apache.poi.ss.usermodel.Cell cell, com.alibaba.excel.metadata.Head head, Integer integer, Boolean isHead) - 覆盖:
setColumnWidth在类中com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
-
dataLength
private Integer dataLength(List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Boolean isHead) 计算长度- 参数:
cellDataList-cell-isHead-- 返回:
-