report = new ReportParser( ).parse( ( (ReportRunnable) runnable ) .getReport( ) );
try { ReportParser parser = new ReportParser( );  ReportDesignHandle reportDesign = parser.getDesignHandle( reader.getDesignName(), reader.getDesignStream() ); report = parser.parse( reportDesign ); } catch ( DesignFileException e ) { e.printStackTrace( ); }
	public DataExtractionTask( ReportEngine engine, IReportRunnable runnable,			ReportDocumentReader reader ) throws EngineException	{		super( engine, runnable );				// load the reportR		this.reportDocReader = reader;		executionContext.setReportDocument( reportDocReader );		executionContext.setFactoryMode( false );		executionContext.setPresentationMode( true );		report = new ReportParser( ).parse( ( (ReportRunnable) runnable )				.getReport( ) );				executionContext.setReport( report );		setParameterValues( reportDocReader.getParameterValues( ) );				IDataEngine dataEngine = executionContext.getDataEngine();		dataEngine.prepare( report, appContext );	}