public abstract class AbstractHeadColumnWidthStyleStrategy extends AbstractColumnWidthStyleStrategy
| Constructor and Description |
|---|
AbstractHeadColumnWidthStyleStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Integer |
columnWidth(Head head,
Integer columnIndex)
Returns the column width corresponding to each column head.
|
protected void |
setColumnWidth(WriteSheetHolder writeSheetHolder,
List<WriteCellData<?>> cellDataList,
org.apache.poi.ss.usermodel.Cell cell,
Head head,
Integer relativeRowIndex,
Boolean isHead)
Sets the column width when head create
|
afterCellDispose, setColumnWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCellCreate, afterCellCreate, afterCellDataConverted, afterCellDataConverted, afterCellDispose, beforeCellCreate, beforeCellCreatepublic AbstractHeadColumnWidthStyleStrategy()
protected void setColumnWidth(WriteSheetHolder writeSheetHolder, List<WriteCellData<?>> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
AbstractColumnWidthStyleStrategysetColumnWidth in class AbstractColumnWidthStyleStrategyCopyright © 2018–2024 Alibaba Group. All rights reserved.