public abstract class AbstractColumnWidthStyleStrategy extends AbstractCellWriteHandler implements NotRepeatExecutor
构造器和说明 |
---|
AbstractColumnWidthStyleStrategy() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterCellDispose(WriteSheetHolder writeSheetHolder,
WriteTableHolder writeTableHolder,
List<CellData> cellDataList,
org.apache.poi.ss.usermodel.Cell cell,
Head head,
Integer relativeRowIndex,
Boolean isHead)
Called after all operations on the cell have been completed
|
protected abstract 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
|
String |
uniqueValue()
To see if it's the same executor
|
afterCellCreate, afterCellDataConverted, beforeCellCreate
public String uniqueValue()
NotRepeatExecutor
uniqueValue
在接口中 NotRepeatExecutor
public void afterCellDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
CellWriteHandler
afterCellDispose
在接口中 CellWriteHandler
afterCellDispose
在类中 AbstractCellWriteHandler
writeTableHolder
- Nullable.It is null without using table writes.cellDataList
- Nullable.It is null in the case of add header.There may be several when fill the data.head
- Nullable.It is null in the case of fill data and without head.relativeRowIndex
- Nullable.It is null in the case of fill data.isHead
- It will always be false when fill data.protected abstract void setColumnWidth(WriteSheetHolder writeSheetHolder, List<CellData> cellDataList, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
writeSheetHolder
- cellDataList
- cell
- head
- relativeRowIndex
- isHead
- Copyright © 2018–2021 Alibaba Group. All rights reserved.