Class ReportConverter
- java.lang.Object
-
- net.sf.jasperreports.engine.convert.ReportConverter
-
public class ReportConverter extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUNDstatic ColorGRID_LINE_COLORprotected Map<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()LocalegetLocale()JRReportgetReport()TimeZonegetTimeZone()protected voidloadReportStyles(JRReport report)protected voidloadReportTemplateStyles(JRReportTemplate template, Set<String> loadedLocations)protected voidloadTemplateStyles(String location, Set<String> loadedLocations, Set<String> parentLocations)JRStyleresolveStyle(JRStyleContainer originalContainer)protected voidsetStyles(JRReport report)
-
-
-
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, Set<String> loadedLocations)
-
loadTemplateStyles
protected void loadTemplateStyles(String location, Set<String> loadedLocations, Set<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 Locale getLocale()
-
getTimeZone
public TimeZone getTimeZone()
-
-