Class ReportConverter
- java.lang.Object
-
- net.sf.jasperreports.engine.convert.ReportConverter
-
public class ReportConverter extends java.lang.Object- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUNDstatic java.awt.ColorGRID_LINE_COLORprotected java.util.Map<java.lang.String,JRStyle>stylesMap
-
Constructor Summary
Constructors Constructor Description ReportConverter(JasperReportsContext jasperReportsContext, JRReport report, boolean ignoreContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectStyles(JRStyle[] styles)protected voidconvert(boolean ignoreContent)voidcopyBaseAttributes(JRElement source, JRPrintElement converted)ComponentsEnvironmentgetComponentsEnvironment()JRDefaultStyleProvidergetDefaultStyleProvider()JasperPrintgetJasperPrint()JasperReportsContextgetJasperReportsContext()java.util.LocalegetLocale()JRReportgetReport()java.util.TimeZonegetTimeZone()protected voidloadReportStyles(JRReport report)protected voidloadReportTemplateStyles(JRReportTemplate template, java.util.Set<java.lang.String> loadedLocations)protected voidloadTemplateStyles(java.lang.String location, java.util.Set<java.lang.String> loadedLocations, java.util.Set<java.lang.String> parentLocations)JRStyleresolveStyle(JRStyleContainer originalContainer)protected voidsetStyles(JRReport report)
-
-
-
Field Detail
-
GRID_LINE_COLOR
public static final java.awt.Color GRID_LINE_COLOR
-
EXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUND
public static final java.lang.String EXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUND
- See Also:
- Constant Field Values
-
stylesMap
protected java.util.Map<java.lang.String,JRStyle> stylesMap
-
-
Constructor Detail
-
ReportConverter
public ReportConverter(JasperReportsContext jasperReportsContext, JRReport report, boolean ignoreContent)
-
-
Method Detail
-
convert
protected void convert(boolean ignoreContent)
-
setStyles
protected void setStyles(JRReport report)
-
loadReportStyles
protected void loadReportStyles(JRReport report)
-
loadReportTemplateStyles
protected void loadReportTemplateStyles(JRReportTemplate template, java.util.Set<java.lang.String> loadedLocations)
-
loadTemplateStyles
protected void loadTemplateStyles(java.lang.String location, java.util.Set<java.lang.String> loadedLocations, java.util.Set<java.lang.String> parentLocations)
-
collectStyles
protected void collectStyles(JRStyle[] styles)
-
resolveStyle
public JRStyle resolveStyle(JRStyleContainer originalContainer)
-
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
-
getComponentsEnvironment
public ComponentsEnvironment getComponentsEnvironment()
-
getReport
public JRReport getReport()
-
getJasperPrint
public JasperPrint getJasperPrint()
-
getDefaultStyleProvider
public JRDefaultStyleProvider getDefaultStyleProvider()
-
copyBaseAttributes
public void copyBaseAttributes(JRElement source, JRPrintElement converted)
-
getLocale
public java.util.Locale getLocale()
-
getTimeZone
public java.util.TimeZone getTimeZone()
-
-