public class LongestMatchColumnWidthStyleStrategy extends AbstractColumnWidthStyleStrategy
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.
| 构造器和说明 |
|---|
LongestMatchColumnWidthStyleStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected 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
|
afterCellDispose, uniqueValueafterCellCreate, afterCellDataConverted, beforeCellCreateprotected void setColumnWidth(WriteSheetHolder writeSheetHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
AbstractColumnWidthStyleStrategyCopyright © 2018–2021 Alibaba Group. All rights reserved.