public abstract class AbstractVerticalCellStyleStrategy extends AbstractCellStyleStrategy
构造器和说明 |
---|
AbstractVerticalCellStyleStrategy() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract WriteCellStyle |
contentCellStyle(Head head)
Returns the column width corresponding to each column head
|
protected abstract WriteCellStyle |
headCellStyle(Head head)
Returns the column width corresponding to each column head
|
protected void |
initCellStyle(org.apache.poi.ss.usermodel.Workbook workbook)
Initialization cell style
|
protected void |
setContentCellStyle(org.apache.poi.ss.usermodel.Cell cell,
Head head,
Integer relativeRowIndex)
Sets the cell style of content
|
protected void |
setHeadCellStyle(org.apache.poi.ss.usermodel.Cell cell,
Head head,
Integer relativeRowIndex)
Sets the cell style of header
|
afterCellCreate, afterCellDataConverted, afterCellDispose, afterWorkbookCreate, afterWorkbookDispose, beforeCellCreate, beforeWorkbookCreate, uniqueValue
protected void initCellStyle(org.apache.poi.ss.usermodel.Workbook workbook)
AbstractCellStyleStrategy
initCellStyle
在类中 AbstractCellStyleStrategy
protected void setHeadCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex)
AbstractCellStyleStrategy
protected void setContentCellStyle(org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex)
AbstractCellStyleStrategy
protected abstract WriteCellStyle headCellStyle(Head head)
head
- Nullableprotected abstract WriteCellStyle contentCellStyle(Head head)
head
- NullableCopyright © 2018–2021 Alibaba Group. All rights reserved.