类 AbstractVerticalCellStyleStrategy
java.lang.Object
com.sh.wf.excel.write.style.AbstractCellStyleStrategy
com.sh.wf.excel.write.style.AbstractVerticalCellStyleStrategy
- 所有已实现的接口:
Handler,NotRepeatExecutor,CellWriteHandler,SheetWriteHandler,WriteHandler
Use the same style for the column
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract WriteCellStylecontentCellStyle(Head head) Returns the column width corresponding to each column headprotected abstract WriteCellStyleheadCellStyle(Head head) Returns the column width corresponding to each column headprotected voidinitCellStyle(org.apache.poi.ss.usermodel.Workbook workbook) Initialization cell styleprotected voidsetContentCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex) Sets the cell style of contentprotected voidsetHeadCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex) Sets the cell style of header从类继承的方法 com.sh.wf.excel.write.style.AbstractCellStyleStrategy
afterCellCreate, afterCellDispose, afterSheetCreate, beforeCellCreate, beforeSheetCreate, uniqueValue
-
构造器详细资料
-
AbstractVerticalCellStyleStrategy
public AbstractVerticalCellStyleStrategy()
-
-
方法详细资料
-
initCellStyle
protected void initCellStyle(org.apache.poi.ss.usermodel.Workbook workbook) 从类复制的说明:AbstractCellStyleStrategyInitialization cell style- 指定者:
initCellStyle在类中AbstractCellStyleStrategy
-
setHeadCellStyle
protected void setHeadCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex) 从类复制的说明:AbstractCellStyleStrategySets the cell style of header -
setContentCellStyle
protected void setContentCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex) 从类复制的说明:AbstractCellStyleStrategySets the cell style of content -
headCellStyle
Returns the column width corresponding to each column head- 参数:
head- Nullable- 返回:
-
contentCellStyle
Returns the column width corresponding to each column head- 参数:
head- Nullable- 返回:
-