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, int reportDpi) -
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) voidsetCellBackcolor(Color cellBackcolor) Sets the background color of the cells that have no background of their own.voidsetReportDpi(int reportDpi)
-
Constructor Details
-
StyleCache
public StyleCache(JasperReportsContext jasperReportsContext, WriterHelper styleWriter, String exporterKey, int reportDpi)
-
-
Method Details
-
setReportDpi
public void setReportDpi(int reportDpi) -
setCellBackcolor
Sets the background color of the cells that have no background of their own. -
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
-