类 ExcelHandler
java.lang.Object
cn.jrack.excel.core.handler.ExcelHandler
Excel处理
- 作者:
- joy
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明contentStyle(int fontHeightInPoints, org.apache.poi.ss.usermodel.IndexedColors fillForegroundColor, org.apache.poi.ss.usermodel.IndexedColors fontColor) contentStyle(com.alibaba.excel.write.metadata.style.WriteCellStyle writeCellStyle) convertToArrayList(List<T> list) voiddoExport(javax.servlet.http.HttpServletResponse response) voiddoWrite()voidheadStyle(int fontHeightInPoints, org.apache.poi.ss.usermodel.IndexedColors fillForegroundColor, org.apache.poi.ss.usermodel.IndexedColors fontColor) headStyle(com.alibaba.excel.write.metadata.style.WriteCellStyle writeCellStyle) mergeCell(int firstRowIndex, int lastRowIndex, int firstColumnIndex, int lastColumnIndex) registerWriteHandler(com.alibaba.excel.write.handler.WriteHandler writeHandler)
-
构造器详细资料
-
ExcelHandler
public ExcelHandler()
-
-
方法详细资料
-
title
-
addRow
-
addRow
-
addHeads
-
addHead
-
addHead
-
data
-
buildData
-
doWrite
- 抛出:
IOException
-
doWrite
- 抛出:
IOException
-
doExport
- 抛出:
IOException
-
buildHead
-
registerWriteHandler
-
mergeCell
public ExcelHandler mergeCell(int firstRowIndex, int lastRowIndex, int firstColumnIndex, int lastColumnIndex) -
headStyle
public ExcelHandler headStyle(int fontHeightInPoints, org.apache.poi.ss.usermodel.IndexedColors fillForegroundColor, org.apache.poi.ss.usermodel.IndexedColors fontColor) -
headStyle
-
border
-
contentStyle
public ExcelHandler contentStyle(int fontHeightInPoints, org.apache.poi.ss.usermodel.IndexedColors fillForegroundColor, org.apache.poi.ss.usermodel.IndexedColors fontColor) -
contentStyle
public ExcelHandler contentStyle(com.alibaba.excel.write.metadata.style.WriteCellStyle writeCellStyle) -
openLongestMatchColumnWidthStyleStrategy
-
fileName
-
sheetName
-
filePath
-
convertToArrayList
-