if ( context.isInFactory( ) ) { return new DataGenerationEngine( context, context.getReportDocWriter().getArchive() ); }
	public IDataEngine createDataEngine( ExecutionContext context )	{		IReportDocument document = context.getReportDocument( );		if ( document != null )		{			if ( context.isInFactory( ) )			{				return new DataGenerationEngine( context, 						context.getReportDocWriter().getArchive() );			}			return new DataPresentationEngine( context, 					context.getReportDocument().getArchive() );		}		return new DteDataEngine( context );	}