public class ExcelReportAppendImporter extends MultiExcelReportImporter
ExcelReportImporter.ExcelPicture
DEFAULT_EXCEL_CELL_WIDTH, FULL_COLOR, KILO
构造器和说明 |
---|
ExcelReportAppendImporter() |
限定符和类型 | 方法和说明 |
---|---|
protected int |
computeInsertCount(int start,
int end,
int stepLen,
int cur_size)
计算插入的行列跨度
|
protected java.lang.String |
getType() |
protected void |
insertData(WriteECReport curReport,
CellElement topce,
boolean vertical,
int startRC,
int rect_len,
int insertCount)
插入数据
|
protected boolean |
isByLocation(ECReport excelReport,
WriteECReport curReport)
是否按照位置匹配, 要求行列数目完全相等.
|
protected boolean |
needInsert(int num,
int cur_size) |
protected void |
setDataAfterAppend(WriteECReport curReport,
ECReport excelReport,
boolean vertical,
boolean checkWidget,
int startRC,
java.util.List<WriteCellElement> cellNeedToPresentList,
java.util.List<java.util.List<CellElement>> line_v_list,
java.util.List<CellElement> res_wg_rect_list,
CellElement topce,
int sheetIndex,
int expand_size,
java.util.List<CellElement> uc_exp_rect_list)
赋值给插入行后的格子
|
getCellExpandSize
applyAlignStyle, format, generateWorkBookByStream, generateWorkBookByStream, getAllPictures, getBorderStyle, getExcelTitleConfig, getMinMatchCount, importExcel2Book, importExcel2Book, importExcel2Book, setDataAboveUncertain, setExcelTitleConfig, setValue4ExcelImport
protected java.lang.String getType()
getType
在类中 ExcelReportImporter
protected int computeInsertCount(int start, int end, int stepLen, int cur_size)
ExcelReportImporter
computeInsertCount
在类中 ExcelReportImporter
start
- 起始点end
- 结束点stepLen
- 步长protected boolean needInsert(int num, int cur_size)
needInsert
在类中 ExcelReportImporter
protected void setDataAfterAppend(WriteECReport curReport, ECReport excelReport, boolean vertical, boolean checkWidget, int startRC, java.util.List<WriteCellElement> cellNeedToPresentList, java.util.List<java.util.List<CellElement>> line_v_list, java.util.List<CellElement> res_wg_rect_list, CellElement topce, int sheetIndex, int expand_size, java.util.List<CellElement> uc_exp_rect_list)
setDataAfterAppend
在类中 MultiExcelReportImporter
curReport
- 当前报表excelReport
- Excel报表vertical
- 是否纵向checkWidget
- 是否检测控件startRC
- 起始行列cellNeedToPresentList
- 形态列表line_v_list
- 导入的格子列表res_wg_rect_list
- 控件列表sheetIndex
- sheet下标expand_size
- 当前扩展行数uc_exp_rect_list
- 不定行起始单元格列表protected void insertData(WriteECReport curReport, CellElement topce, boolean vertical, int startRC, int rect_len, int insertCount) throws WriteException
insertData
在类中 ExcelReportImporter
curReport
- 当前报表topce
- 顶层父格vertical
- 是否纵向startRC
- 不定行起始行列rect_len
- 扩展块跨度insertCount
- 插入的行数WriteException
protected boolean isByLocation(ECReport excelReport, WriteECReport curReport)
ExcelReportImporter
isByLocation
在类中 ExcelReportImporter
excelReport
- Excel报表curReport
- 填报报表