public class DefaultStyledExcelTabularDataWriter extends ExcelTabularDataWriter
baseReporters, dateStyle, fixedHeightPts, workbook, wrapStyle
Constructor and Description |
---|
DefaultStyledExcelTabularDataWriter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.poi.ss.usermodel.CellStyle |
getCellStyle(int sheetIndex,
int rowIndex,
int colIndex,
org.apache.poi.ss.usermodel.Cell cell) |
void |
init()
Initialize the Export Writer
|
protected org.apache.poi.ss.usermodel.CellStyle |
mergeCellStyles(org.apache.poi.ss.usermodel.CellStyle rowStyle,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
CellStyle replaces another CellStyle.
|
createSheet, displayColumn, getBaseReporters, getDateFormat, getFixedHeightPts, getPageInfoForReport, getParamsForReport, getRowStyle, getSheet, getStartCol, getStartRow, setBaseReporters, setDateFormat, setFixedHeightPts, setStartCol, setStartRow, setValue, writeDataToStream, writeDataToWorkBook
@PostConstruct public void init()
ReportWriter
init
in interface ReportWriter
init
in class ExcelTabularDataWriter
protected final org.apache.poi.ss.usermodel.CellStyle getCellStyle(int sheetIndex, int rowIndex, int colIndex, org.apache.poi.ss.usermodel.Cell cell)
getCellStyle
in class ExcelTabularDataWriter
protected final org.apache.poi.ss.usermodel.CellStyle mergeCellStyles(org.apache.poi.ss.usermodel.CellStyle rowStyle, org.apache.poi.ss.usermodel.CellStyle cellStyle) throws Exception
ExcelTabularDataWriter
mergeCellStyles
in class ExcelTabularDataWriter
rowStyle
- as CellStyle
cellStyle
- as CellStyle
Exception
Copyright © 2018. All rights reserved.