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 |
getCellStyle(JRExporterGridCell gridCell,
boolean shrinkToFit,
boolean wrapText) |
String |
getColumnStyle(int columnWidth) |
Collection<String> |
getFontFaces() |
String |
getFrameStyle(JRPrintElement element) |
String |
getFrameStyle(JRPrintText text) |
String |
getGraphicStyle(JRPrintGraphicElement element) |
String |
getParagraphStyle(JRPrintText text,
boolean isIgnoreTextFormatting) |
String |
getRowStyle(int rowHeight) |
String |
getTableStyle(int width,
int pageFormatIndex,
boolean isFrame,
boolean isPageBreak,
Color tabColor) |
String |
getTextSpanStyle(Map<AttributedCharacterIterator.Attribute,Object> attributes,
String text,
Locale locale,
boolean isIgnoreTextFormatting) |
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, String exporterKey)
public Collection<String> getFontFaces()
public String getTableStyle(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak, Color tabColor) throws IOException
IOException
public String getRowStyle(int rowHeight) throws IOException
IOException
public String getColumnStyle(int columnWidth) throws IOException
IOException
public String getFrameStyle(JRPrintText text) throws IOException
IOException
public String getFrameStyle(JRPrintElement element) throws IOException
IOException
public String getGraphicStyle(JRPrintGraphicElement element)
public String getCellStyle(JRExporterGridCell gridCell)
public String getCellStyle(JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText)
public String getParagraphStyle(JRPrintText text, boolean isIgnoreTextFormatting)
Copyright © 2016. All rights reserved.