public abstract class ExcelPrinterBase extends Object
Constructor and Description |
---|
ExcelPrinterBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSheetColumnWidths(org.apache.poi.ss.usermodel.Sheet sheet,
SlimSheetLayout sheetLayout,
int columnCount) |
protected void |
configureSheetPaperSize(org.apache.poi.ss.usermodel.Sheet sheet,
PhysicalPageBox page) |
protected void |
configureSheetProperties(org.apache.poi.ss.usermodel.Sheet sheet,
SheetPropertySource excelTableContentProducer) |
protected CellStyleProducer |
createCellStyleProducer(org.apache.poi.ss.usermodel.Workbook workbook) |
protected void |
createImageCell(StyleSheet rawSource,
ImageContainer imageContainer,
SlimSheetLayout sheetLayout,
TableRectangle rectangle,
StrictBounds contentBounds) |
protected org.apache.poi.ss.usermodel.Workbook |
createWorkbook() |
protected org.apache.poi.ss.usermodel.Cell |
getCellAt(int x,
int y) |
CellStyleProducer |
getCellStyleProducer() |
protected ExcelColorProducer |
getColorProducer() |
protected Configuration |
getConfig() |
org.apache.poi.ss.usermodel.Drawing |
getDrawingPatriarch() |
protected ExcelColorProducer |
getFontColorProducer() |
OutputProcessorMetaData |
getMetaData() |
protected org.apache.poi.ss.usermodel.Row |
getRowAt(int y) |
double |
getScaleFactor() |
protected abstract org.apache.poi.ss.usermodel.Sheet |
getSheet() |
InputStream |
getTemplateInputStream() |
abstract org.apache.poi.ss.usermodel.Workbook |
getWorkbook() |
protected void |
handleValueType(org.apache.poi.ss.usermodel.Cell cell,
Object value,
org.apache.poi.ss.usermodel.Workbook workbook) |
protected void |
init(OutputProcessorMetaData metaData,
ResourceManager resourceManager) |
protected void |
initializeStyleProducers(org.apache.poi.ss.usermodel.Workbook workbook) |
protected boolean |
isHeaderFooterValid(String left,
String center,
String right) |
boolean |
isInitialized() |
boolean |
isUseXlsxFormat() |
protected boolean |
isValidSheetName(String sheetname) |
protected String |
makeUnique(String name) |
protected org.apache.poi.ss.usermodel.Sheet |
openSheet(String sheetName) |
void |
setTemplateInputStream(InputStream templateInputStream) |
void |
setUseXlsxFormat(boolean useXlsxFormat) |
protected static String |
splitAndQuoteExcelFormula(String s) |
public boolean isUseXlsxFormat()
public void setUseXlsxFormat(boolean useXlsxFormat)
public boolean isInitialized()
protected void init(OutputProcessorMetaData metaData, ResourceManager resourceManager)
public InputStream getTemplateInputStream()
public void setTemplateInputStream(InputStream templateInputStream)
protected boolean isValidSheetName(String sheetname)
protected org.apache.poi.ss.usermodel.Cell getCellAt(int x, int y)
protected org.apache.poi.ss.usermodel.Row getRowAt(int y)
protected abstract org.apache.poi.ss.usermodel.Sheet getSheet()
public double getScaleFactor()
public CellStyleProducer getCellStyleProducer()
protected org.apache.poi.ss.usermodel.Workbook createWorkbook()
protected void initializeStyleProducers(org.apache.poi.ss.usermodel.Workbook workbook)
protected CellStyleProducer createCellStyleProducer(org.apache.poi.ss.usermodel.Workbook workbook)
protected org.apache.poi.ss.usermodel.Sheet openSheet(String sheetName)
protected void configureSheetProperties(org.apache.poi.ss.usermodel.Sheet sheet, SheetPropertySource excelTableContentProducer)
protected void configureSheetPaperSize(org.apache.poi.ss.usermodel.Sheet sheet, PhysicalPageBox page)
protected void configureSheetColumnWidths(org.apache.poi.ss.usermodel.Sheet sheet, SlimSheetLayout sheetLayout, int columnCount)
public abstract org.apache.poi.ss.usermodel.Workbook getWorkbook()
protected ExcelColorProducer getColorProducer()
protected ExcelColorProducer getFontColorProducer()
protected Configuration getConfig()
public OutputProcessorMetaData getMetaData()
public org.apache.poi.ss.usermodel.Drawing getDrawingPatriarch()
protected void createImageCell(StyleSheet rawSource, ImageContainer imageContainer, SlimSheetLayout sheetLayout, TableRectangle rectangle, StrictBounds contentBounds)
protected void handleValueType(org.apache.poi.ss.usermodel.Cell cell, Object value, org.apache.poi.ss.usermodel.Workbook workbook)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.