public class SimpleExcelExported extends Object
| 构造器和说明 |
|---|
SimpleExcelExported() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFormat(String key,
WriteFormatListener value) |
void |
addTpl(String key,
CellTpl value) |
void |
addTpl(String key,
String name,
int index) |
void |
addTpl(String key,
String name,
int index,
org.apache.poi.ss.usermodel.CellStyle cellStyle) |
void |
exported()
开始导出(必须先配置模板)
|
WriteCompleteListener |
getCompleteListener()
获取 写入完成监听
|
WriteLoadListener |
getLoadListener()
获取 写入监听
|
WriteReadyListener |
getReadyListener()
获取 准备监听
|
int |
getRowDataIndex() |
int |
getRowHeadIndex() |
org.apache.poi.ss.usermodel.CellStyle |
getRowStyle()
获取 行样式
|
File |
getTplFile()
获取 模板文件
|
int |
getTplIndex()
获取 工作蒲序号
|
void |
setCompleteListener(WriteCompleteListener writeCompleteListener)
设置 写入完成监听
|
void |
setLoadListener(WriteLoadListener writeListener)
设置 写入监听
|
void |
setReadyListener(WriteReadyListener readyListener)
设置 准备监听
|
void |
setRowDataIndex(int rowDataIndex) |
void |
setRowHeadIndex(int rowHeadIndex) |
void |
setRowStyle(org.apache.poi.ss.usermodel.CellStyle rowStyle) |
void |
setTplIndex(int tplIndex)
设置 工作蒲序号
|
void |
setTplpath(File tplFile)
设置 模板文件
|
public void addTpl(String key, String name, int index, org.apache.poi.ss.usermodel.CellStyle cellStyle)
public void addFormat(String key, WriteFormatListener value)
public File getTplFile()
public void setTplpath(File tplFile)
tplFile - 模板文件public int getTplIndex()
public void setTplIndex(int tplIndex)
tplIndex - 工作蒲序号public org.apache.poi.ss.usermodel.CellStyle getRowStyle()
public void setRowStyle(org.apache.poi.ss.usermodel.CellStyle rowStyle)
public int getRowDataIndex()
public void setRowDataIndex(int rowDataIndex)
public int getRowHeadIndex()
public void setRowHeadIndex(int rowHeadIndex)
public WriteLoadListener getLoadListener()
public void setLoadListener(WriteLoadListener writeListener)
writeListener - 写入监听public WriteReadyListener getReadyListener()
public void setReadyListener(WriteReadyListener readyListener)
readyListener - 准备监听public WriteCompleteListener getCompleteListener()
public void setCompleteListener(WriteCompleteListener writeCompleteListener)
writeCompleteListener - 写入完成监听Copyright © 2019. All rights reserved.