if ( context == null ) { return null; }
	protected Object getRenderContext( IReportContext context )	{		Map appContext = context.getAppContext( );		if ( appContext != null )		{			String renderContextKey = EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT;			String format = context.getOutputFormat( );			if ( "pdf".equalsIgnoreCase( format ) )			{				renderContextKey = EngineConstants.APPCONTEXT_PDF_RENDER_CONTEXT;			}			return appContext.get( renderContextKey );		}		return null;	}