public class StyleCache extends Object
| Constructor and Description |
|---|
StyleCache(JasperReportsContext jasperReportsContext,
WriterHelper styleWriter,
String exporterKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCellStyle(JRExporterGridCell gridCell) |
String |
getColumnStyle(int columnWidth) |
Collection<String> |
getFontFaces() |
String |
getFrameStyle(JRPrintElement element) |
String |
getFrameStyle(JRPrintText text) |
String |
getGraphicStyle(JRPrintGraphicElement element) |
String |
getParagraphStyle(JRPrintText text) |
String |
getRowStyle(int rowHeight) |
String |
getTableStyle(int width,
int reportIndex,
boolean isFrame,
boolean isPageBreak) |
String |
getTextSpanStyle(Map<AttributedCharacterIterator.Attribute,Object> attributes,
String text,
Locale locale) |
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, String exporterKey)
public Collection<String> getFontFaces()
public String getTableStyle(int width, int reportIndex, boolean isFrame, boolean isPageBreak) throws IOException
IOExceptionpublic String getRowStyle(int rowHeight) throws IOException
IOExceptionpublic String getColumnStyle(int columnWidth) throws IOException
IOExceptionpublic String getFrameStyle(JRPrintText text) throws IOException
IOExceptionpublic String getFrameStyle(JRPrintElement element) throws IOException
IOExceptionpublic String getGraphicStyle(JRPrintGraphicElement element)
public String getCellStyle(JRExporterGridCell gridCell)
public String getParagraphStyle(JRPrintText text)
Copyright © 2014. All rights reserved.