Bug 206719 [Regression] Not all of the data exported can be shown [07]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
}
		else
		{
			boolean isEmbeddable = false;
			if ( IBirtConstants.SERVLET_PATH_FRAMESET
					.equalsIgnoreCase( servletPath )
					|| IBirtConstants.SERVLET_PATH_RUN
							.equalsIgnoreCase( servletPath ) )
				isEmbeddable = true;
			if ( renderOption instanceof IHTMLRenderOption )
				( (IHTMLRenderOption) renderOption )
						.setEmbeddable( isEmbeddable );
			
			if ( IBirtConstants.DOC_RENDER_FORMAT.equalsIgnoreCase( format ) )
			{
				( (IHTMLRenderOption) renderOption ).setOption(
						IHTMLRenderOption.HTML_PAGINATION, Boolean.TRUE );
			}
			renderOption.setOption( IHTMLRenderOption.HTML_RTL_FLAG,
					new Boolean( rtl ) );
			renderOption.setOption( IHTMLRenderOption.INSTANCE_ID_LIST,
					activeIds );
			renderOption.setOption( IHTMLRenderOption.MASTER_PAGE_CONTENT,
					new Boolean( masterPage ) );
			handler = new ViewerHTMLActionHandler( reportDocument, pageNumber,
					locale, isEmbeddable, rtl, masterPage, format );
		}
		String resourceFolder = ParameterAccessor.getParameter( request,
				ParameterAccessor.PARAM_RESOURCE_FOLDER );
		handler.setResourceFolder( resourceFolder );