public class FastExcelPrinter extends ExcelPrinterBase
Constructor and Description |
---|
FastExcelPrinter(SheetLayout sheetLayout) |
Modifier and Type | Method and Description |
---|---|
void |
closeSheet() |
void |
closeWorkbook(OutputStream outputStream) |
protected CellStyleProducer |
createCellStyleProducer(org.apache.poi.ss.usermodel.Workbook workbook) |
void |
endSection(Band band,
ArrayList<CellLayoutInfo> backgroundCells) |
protected org.apache.poi.ss.usermodel.Sheet |
getSheet() |
org.apache.poi.ss.usermodel.Workbook |
getWorkbook() |
void |
init(OutputProcessorMetaData metaData,
ResourceManager resourceManager,
ReportDefinition report) |
void |
print(CellLayoutInfo tableRectangle,
ReportElement element,
ExpressionRuntime runtime) |
void |
startSection(Band band,
long[] cellHeights) |
configureSheetColumnWidths, configureSheetPaperSize, configureSheetProperties, createImageCell, createWorkbook, getCellAt, getCellStyleProducer, getColorProducer, getConfig, getDrawingPatriarch, getFontColorProducer, getMetaData, getRowAt, getScaleFactor, getTemplateInputStream, handleValueType, init, initializeStyleProducers, isHeaderFooterValid, isInitialized, isUseXlsxFormat, isValidSheetName, makeUnique, openSheet, setTemplateInputStream, setUseXlsxFormat, splitAndQuoteExcelFormula
public FastExcelPrinter(SheetLayout sheetLayout)
public void init(OutputProcessorMetaData metaData, ResourceManager resourceManager, ReportDefinition report)
protected org.apache.poi.ss.usermodel.Sheet getSheet()
getSheet
in class ExcelPrinterBase
public org.apache.poi.ss.usermodel.Workbook getWorkbook()
getWorkbook
in class ExcelPrinterBase
public void startSection(Band band, long[] cellHeights)
public void endSection(Band band, ArrayList<CellLayoutInfo> backgroundCells)
protected CellStyleProducer createCellStyleProducer(org.apache.poi.ss.usermodel.Workbook workbook)
createCellStyleProducer
in class ExcelPrinterBase
public void closeSheet()
public void print(CellLayoutInfo tableRectangle, ReportElement element, ExpressionRuntime runtime) throws ContentProcessingException
ContentProcessingException
public void closeWorkbook(OutputStream outputStream) throws IOException
IOException
Copyright © 2017 Hitachi Vantara. All rights reserved.