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 String
EXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUND
static Color
GRID_LINE_COLOR
protected 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 void
collectStyles(JRStyle[] styles)
protected void
convert(boolean ignoreContent)
void
copyBaseAttributes(JRElement source, JRPrintElement converted)
ComponentsEnvironment
getComponentsEnvironment()
JRDefaultStyleProvider
getDefaultStyleProvider()
JasperPrint
getJasperPrint()
JasperReportsContext
getJasperReportsContext()
Locale
getLocale()
JRReport
getReport()
TimeZone
getTimeZone()
protected void
loadReportStyles(JRReport report)
protected void
loadReportTemplateStyles(JRReportTemplate template, Set<String> loadedLocations)
protected void
loadTemplateStyles(String location, Set<String> loadedLocations, Set<String> parentLocations)
JRStyle
resolveStyle(JRStyleContainer originalContainer)
protected void
setStyles(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()
-
-