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
+ request.getServerPort( );
			}
			else
			{
				baseURL = ""; 		
			}
		}
		
		baseURL += request.getContextPath( );
		PDFRenderOption renderOption = new PDFRenderOption( );
		if ( servletPath != null && servletPath.length( ) > 0 )
		{
			renderOption.setBaseURL( baseURL + servletPath );
		}
		else
		{
			renderOption.setBaseURL( baseURL + IBirtConstants.SERVLET_PATH_RUN );
		}
		renderOption.setSupportedImageFormats( "PNG;GIF;JPG;BMP" ); 
		
		renderOption.setOption( PDFRenderOption.FIT_TO_PAGE, new Boolean(
				ParameterAccessor.isFitToPage( request ) ) );
		
		renderOption.setOption( PDFRenderOption.PAGEBREAK_PAGINATION_ONLY,
				new Boolean( ParameterAccessor.isPagebreakOnly( request ) ) );
		return renderOption;
	}
	/**
	 * Run and render a report,
	 *