net.sf.jasperreports.engine.convert
Class ReportConverter

java.lang.Object
  extended by net.sf.jasperreports.engine.convert.ReportConverter

public class ReportConverter
extends Object

Version:
$Id: ReportConverter.java 5050 2012-03-12 10:11:26Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static Color GRID_LINE_COLOR
           
protected  Map<String,JRStyle> stylesMap
           
 
Constructor Summary
ReportConverter(JasperReportsContext jasperReportsContext, JRReport report, boolean ignoreContent)
           
ReportConverter(JRReport report, boolean ignoreContent)
          Deprecated. Replaced by ReportConverter(JasperReportsContext, JRReport, boolean).
 
Method Summary
protected  void collectStyles(JRStyle[] styles)
           
protected  void convert(boolean ignoreContent)
           
 void copyBaseAttributes(JRElement source, JRPrintElement converted)
           
 JRDefaultStyleProvider getDefaultStyleProvider()
           
 JasperPrint getJasperPrint()
           
 JasperReportsContext getJasperReportsContext()
           
 JRReport getReport()
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRID_LINE_COLOR

public static final Color GRID_LINE_COLOR

stylesMap

protected Map<String,JRStyle> stylesMap
Constructor Detail

ReportConverter

public ReportConverter(JasperReportsContext jasperReportsContext,
                       JRReport report,
                       boolean ignoreContent)

ReportConverter

public ReportConverter(JRReport report,
                       boolean ignoreContent)
Deprecated. Replaced by ReportConverter(JasperReportsContext, JRReport, boolean).

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()

getReport

public JRReport getReport()

getJasperPrint

public JasperPrint getJasperPrint()

getDefaultStyleProvider

public JRDefaultStyleProvider getDefaultStyleProvider()

copyBaseAttributes

public void copyBaseAttributes(JRElement source,
                               JRPrintElement converted)


Copyright © 2012. All Rights Reserved.