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,
CellData cellData,
org.apache.poi.ss.usermodel.Cell cell,
Head head,
int relativeRowIndex,
boolean isHead)
Sets the column width when head create
|
afterCellCreate, beforeCellCreate, uniqueValueprotected void setColumnWidth(WriteSheetHolder writeSheetHolder, CellData cellData, org.apache.poi.ss.usermodel.Cell cell, Head head, int relativeRowIndex, boolean isHead)
AbstractColumnWidthStyleStrategyCopyright © 2018–2019 Alibaba Group. All rights reserved.