Bug 203026 Can not export chart to doc.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
servletPath = request.getServletPath( );
		
		IRenderTask renderTask = engine.createRenderTask( reportDocument );
		
		BirtUtility.addTask( request, renderTask );
		
		Map context = BirtUtility.getAppContext( request,
				ReportEngineService.class.getClassLoader( ) );
		renderTask.setAppContext( context );
		RenderOption renderOption = null;
		if ( format == null )
			format = ParameterAccessor.getFormat( request );
		if ( IBirtConstants.PDF_RENDER_FORMAT.equalsIgnoreCase( format )
				|| IBirtConstants.POSTSCRIPT_RENDER_FORMAT
						.equalsIgnoreCase( format ) )
		{
			renderOption = createPDFRenderOption( servletPath, request,
					ParameterAccessor.isDesigner( request ) );
		}
		else
		{
			renderOption = createHTMLRenderOption( svgFlag, servletPath,
					request );
		}
		renderOption.setOutputStream( out );
		renderOption.setOutputFormat( format );
		ViewerHTMLActionHandler handler = null;
		if ( IBirtConstants.PDF_RENDER_FORMAT.equalsIgnoreCase( format )
				|| IBirtConstants.POSTSCRIPT_RENDER_FORMAT
						.equalsIgnoreCase( format ) )