Class StyleCache
java.lang.Object
net.sf.jasperreports.engine.export.oasis.StyleCache
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionStyleCache
(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, String exporterKey) -
Method Summary
Modifier and TypeMethodDescriptiongetCellStyle
(JRExporterGridCell gridCell) getCellStyle
(JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText) getColumnStyle
(int columnWidth) getFrameStyle
(JRPrintElement element) getFrameStyle
(JRPrintText text) getGraphicStyle
(JRPrintGraphicElement element) getGraphicStyle
(JRPrintGraphicElement element, double cropTop, double cropLeft, double cropBottom, double cropRight) getParagraphStyle
(JRPrintText text, boolean isIgnoreTextFormatting) getRowStyle
(int rowHeight) getTableStyle
(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak, Color tabColor) getTextSpanStyle
(Map<AttributedCharacterIterator.Attribute, Object> attributes, String text, Locale locale, boolean isIgnoreTextFormatting)
-
Constructor Details
-
StyleCache
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, String exporterKey)
-
-
Method Details
-
getFontFaces
-
getTableStyle
public String getTableStyle(int width, int pageFormatIndex, boolean isFrame, boolean isPageBreak, Color tabColor) throws IOException - Throws:
IOException
-
getRowStyle
- Throws:
IOException
-
getColumnStyle
- Throws:
IOException
-
getFrameStyle
- Throws:
IOException
-
getFrameStyle
- Throws:
IOException
-
getGraphicStyle
-
getGraphicStyle
public String getGraphicStyle(JRPrintGraphicElement element, double cropTop, double cropLeft, double cropBottom, double cropRight) -
getCellStyle
-
getCellStyle
-
getParagraphStyle
-
getTextSpanStyle
-