| java.lang.Object org.jfree.report.modules.output.table.xls.helper.ExcelFontFactory
ExcelFontFactory | public class ExcelFontFactory (Code) | | This class keeps track of all fonts that we have used so far in our Excel file.
Excel fonts should never be created directly, as excel does not like the idea of having
too many font definitions.
author: Heiko Evermann |
Constructor Summary | |
public | ExcelFontFactory(HSSFWorkbook workbook) Constructor for ExcelFontFactory. |
ExcelFontFactory | public ExcelFontFactory(HSSFWorkbook workbook)(Code) | | Constructor for ExcelFontFactory.
Parameters: workbook - the workbook. |
getExcelFont | public HSSFFont getExcelFont(HSSFFontWrapper wrapper)(Code) | | Creates a HSSFFont. The created font is cached and reused later, if a similiar font
is requested.
Parameters: wrapper - the font information that should be used to produce the excel font the created or a cached HSSFFont instance |
|
|