Bug 136820 viewer supports render report in pdf format
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/BaseAttributeBean.java
*/
	protected void init( HttpServletRequest request ) throws Exception
	{
		this.locale = ParameterAccessor.getLocale( request );
		this.__init( request );
	}
	/*
	 * Prepare the report parameters
	 */
	protected void __initParameters( HttpServletRequest request )
			throws Exception
	{
		IViewerReportDesignHandle design = null;
		IReportRunnable reportRunnable = null;
		IReportDocument reportDocumentInstance = ReportEngineService
				.getInstance( ).openReportDocument( this.reportDesignName,
						this.reportDocumentName );
		if ( reportDocumentInstance != null )
		{
			reportRunnable = reportDocumentInstance.getReportRunnable( );
			reportDocumentInstance.close( );
		}
		if ( reportRunnable != null )
		{
			design = new BirtViewerReportDesignHandle( reportRunnable );
		}
		else
		{
			design = getDesignHandle( request );
		}