public class StyleCache
extends java.lang.Object
Constructor and Description |
---|
StyleCache(JasperReportsContext jasperReportsContext,
WriterHelper styleWriter,
java.lang.String exporterKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCellStyle(JRExporterGridCell gridCell) |
java.lang.String |
getCellStyle(JRExporterGridCell gridCell,
boolean shrinkToFit,
boolean wrapText) |
java.lang.String |
getColumnStyle(int columnWidth) |
java.util.Collection<java.lang.String> |
getFontFaces() |
java.lang.String |
getFrameStyle(JRPrintElement element) |
java.lang.String |
getFrameStyle(JRPrintText text) |
java.lang.String |
getGraphicStyle(JRPrintGraphicElement element) |
java.lang.String |
getParagraphStyle(JRPrintText text,
boolean isIgnoreTextFormatting) |
java.lang.String |
getRowStyle(int rowHeight) |
java.lang.String |
getTableStyle(int width,
int pageFormatIndex,
boolean isFrame,
boolean isPageBreak) |
java.lang.String |
getTextSpanStyle(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes,
java.lang.String text,
java.util.Locale locale,
boolean isIgnoreTextFormatting) |
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, java.lang.String exporterKey)
public java.util.Collection<java.lang.String> getFontFaces()
public java.lang.String getTableStyle(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak) throws java.io.IOException
java.io.IOException
public java.lang.String getRowStyle(int rowHeight) throws java.io.IOException
java.io.IOException
public java.lang.String getColumnStyle(int columnWidth) throws java.io.IOException
java.io.IOException
public java.lang.String getFrameStyle(JRPrintText text) throws java.io.IOException
java.io.IOException
public java.lang.String getFrameStyle(JRPrintElement element) throws java.io.IOException
java.io.IOException
public java.lang.String getGraphicStyle(JRPrintGraphicElement element)
public java.lang.String getCellStyle(JRExporterGridCell gridCell)
public java.lang.String getCellStyle(JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText)
public java.lang.String getParagraphStyle(JRPrintText text, boolean isIgnoreTextFormatting)
public java.lang.String getTextSpanStyle(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes, java.lang.String text, java.util.Locale locale, boolean isIgnoreTextFormatting)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com