Class StyleCache
- java.lang.Object
-
- net.sf.jasperreports.engine.export.oasis.StyleCache
-
public class StyleCache extends java.lang.Object- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, java.lang.String exporterKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCellStyle(JRExporterGridCell gridCell)java.lang.StringgetCellStyle(JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText)java.lang.StringgetColumnStyle(int columnWidth)java.util.Collection<java.lang.String>getFontFaces()java.lang.StringgetFrameStyle(JRPrintElement element)java.lang.StringgetFrameStyle(JRPrintText text)java.lang.StringgetGraphicStyle(JRPrintGraphicElement element)java.lang.StringgetGraphicStyle(JRPrintGraphicElement element, double cropTop, double cropLeft, double cropBottom, double cropRight)java.lang.StringgetParagraphStyle(JRPrintText text, boolean isIgnoreTextFormatting)java.lang.StringgetRowStyle(int rowHeight)java.lang.StringgetTableStyle(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak, java.awt.Color tabColor)java.lang.StringgetTextSpanStyle(java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> attributes, java.lang.String text, java.util.Locale locale, boolean isIgnoreTextFormatting)
-
-
-
Constructor Detail
-
StyleCache
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, java.lang.String exporterKey)
-
-
Method Detail
-
getFontFaces
public java.util.Collection<java.lang.String> getFontFaces()
-
getTableStyle
public java.lang.String getTableStyle(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak, java.awt.Color tabColor) throws java.io.IOException- Throws:
java.io.IOException
-
getRowStyle
public java.lang.String getRowStyle(int rowHeight) throws java.io.IOException- Throws:
java.io.IOException
-
getColumnStyle
public java.lang.String getColumnStyle(int columnWidth) throws java.io.IOException- Throws:
java.io.IOException
-
getFrameStyle
public java.lang.String getFrameStyle(JRPrintText text) throws java.io.IOException
- Throws:
java.io.IOException
-
getFrameStyle
public java.lang.String getFrameStyle(JRPrintElement element) throws java.io.IOException
- Throws:
java.io.IOException
-
getGraphicStyle
public java.lang.String getGraphicStyle(JRPrintGraphicElement element)
-
getGraphicStyle
public java.lang.String getGraphicStyle(JRPrintGraphicElement element, double cropTop, double cropLeft, double cropBottom, double cropRight)
-
getCellStyle
public java.lang.String getCellStyle(JRExporterGridCell gridCell)
-
getCellStyle
public java.lang.String getCellStyle(JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText)
-
getParagraphStyle
public java.lang.String getParagraphStyle(JRPrintText text, boolean isIgnoreTextFormatting)
-
getTextSpanStyle
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)
-
-