public class HorizontalCellStyleStrategy extends AbstractCellStyleStrategy
构造器和说明 |
---|
HorizontalCellStyleStrategy(WriteCellStyle headWriteCellStyle,
List<WriteCellStyle> contentWriteCellStyleList) |
HorizontalCellStyleStrategy(WriteCellStyle headWriteCellStyle,
WriteCellStyle contentWriteCellStyle) |
限定符和类型 | 方法和说明 |
---|---|
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
public HorizontalCellStyleStrategy(WriteCellStyle headWriteCellStyle, List<WriteCellStyle> contentWriteCellStyleList)
public HorizontalCellStyleStrategy(WriteCellStyle headWriteCellStyle, WriteCellStyle contentWriteCellStyle)
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
Copyright © 2018–2021 Alibaba Group. All rights reserved.