public class LargeDataPageExcelExporter extends ExcelExporter
AbstractExcelExporter.FontAdapter, AbstractExcelExporter.JavaFontAdapter, AbstractExcelExporter.TextFontAdapter
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isPage |
isExcel2003
A3_PAGE_SIZE, A6_PAGE_SIZE, B4_PAGE_SIZE, B5_PAGE_SIZE, colorList, columnRowPostileMaps, DEFAULT_COL_WIDTH, DEFAULT_FONT, DEFAULT_SCALE, EIGHTH, ex_tool, EXCEL_EXPORT_RESOLUTION, FONT_SCALE, FORMULA_ERROR, HANDRED, HEIGHT_LIMIT, hssfCellStyleHash, hssfFontHash, LEDGER_PAGE_SIZE, MAX_PROPER_FONT, NOTE_PAGE_SIZE, paperSettingList, PICTURE_TYPE_PNG, ROTATION_DOWN, ROTATION_UPPER, sheets2Export, totalBreak
构造器和说明 |
---|
LargeDataPageExcelExporter(java.util.List paperSettingList,
boolean isPage) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
checkExcelExportVersion() |
void |
export(java.io.OutputStream out,
ResultWorkBook book)
输出Excel
|
void |
export(java.io.OutputStream out,
ResultWorkBook book,
boolean reUse,
int[] sheets)
输出Excel
|
protected void |
export2temp(java.io.File directory,
java.lang.String reportName,
ResultECReport innerReport,
PaperSettingProvider paperSetting,
boolean reUse) |
protected void |
exportBook(ResultWorkBook book,
POIWorkbookAction workbookWrapper,
java.util.List cellList,
java.util.List<java.lang.String> cellFormulaList,
java.util.List<Report> reportList,
boolean reUse)
将报表导出成excel
|
createFont, dealECReportAndBlockPageSetting, dealWithPageSetting, export, export, exportFor2003, exportFor2007, getExporterFor2007, getFloatLeftMax, getFloatTopMax, getFormat, getRotation, initRichString, innerExportReport, innerExportReports, isExcel2003, setVersion
adjustProperFontSize, applyReportHFFooter, applyReportHFHeader, checkInvalidFormula, checkNumberFormat, checkValueVertical, createComplexFont4FR, createSimpleFont, dealWithAlignAndMargin, dealWithBufferImage, dealWithFormula, dealWithHiddenCR, dealWithPrintSetUp, dealWithSumFormula, evalCellValue, evalFormulaValue, evalHtmlContent, executeCellStyle, exportBook, getMapBorder, getPassword, html2HSSFRichTextString, isShowAsImage, loadPicture, locateFloatElementInExcel, replaceNewLineChar, setAttr4ECReportSIL, setColumnRowBreak, setDefaultFont, setPostilMap, setSheetName, setSheets2Export
export, export
public LargeDataPageExcelExporter(java.util.List paperSettingList, boolean isPage)
public void export(java.io.OutputStream out, ResultWorkBook book) throws java.lang.Exception
export
在接口中 AppExporter<java.lang.Boolean>
export
在类中 ExcelExporter
out
- 输出流book
- 需要导出的Workbookjava.lang.Exception
- 导出失败则抛出此异常public void export(java.io.OutputStream out, ResultWorkBook book, boolean reUse, int[] sheets) throws java.lang.Exception
export
在类中 ExcelExporter
out
- 输出流book
- 需要导出的WorkbookreUse
- 是否缓存sheets
- 导出指定sheetjava.lang.Exception
protected boolean checkExcelExportVersion()
checkExcelExportVersion
在类中 ExcelExporter
protected void export2temp(java.io.File directory, java.lang.String reportName, ResultECReport innerReport, PaperSettingProvider paperSetting, boolean reUse) throws java.lang.Exception
java.lang.Exception
protected void exportBook(ResultWorkBook book, POIWorkbookAction workbookWrapper, java.util.List cellList, java.util.List<java.lang.String> cellFormulaList, java.util.List<Report> reportList, boolean reUse) throws java.lang.Exception
AbstractExcelExporter
exportBook
在类中 AbstractExcelExporter<java.lang.Boolean>
book
- 结果报表workbookWrapper
- 导出的excel表cellList
- 单元格列表cellFormulaList
- 单元格保留公式列表reportList
- 报表集合reUse
- 是否可以重用java.lang.Exception