Bug 147834 Drill through multi-page report document will only show the first page when preview in HTML/PDF
Description: When target report document has multiple pages, drill through will only show the first page. Steps to reproduce: 1. New a report with multiple pages, preview it in web viewer to create report document 2. New another report, drill through to this report document 3. Preview in HTML/PDF, only the first page of target document shows up Notes: Preview in WebViewer will get correct result
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
{
			context
					.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
							createHTMLrenderContext( svgFlag, request
									.getServletPath( ) ) );
		}
		context.put( EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST,
				request );
		context.put( EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
				ReportEngineService.class.getClassLoader( ) );
		renderTask.setAppContext( context );
		
		HTMLRenderOption setting = new HTMLRenderOption( );
		setting.setOutputStream( out );
		if ( format.equalsIgnoreCase( ParameterAccessor.PARAM_FORMAT_PDF ) )
		{
			setting.setOutputFormat( IBirtConstants.PDF_RENDER_FORMAT );
			setting
					.setActionHandle( new ViewerHTMLActionHandler(
							reportDocument, pageNumber, locale, false, rtl,
							masterPage ) );
		}
		else
		{
			setting.setOutputFormat( IBirtConstants.HTML_RENDER_FORMAT );
			boolean isEmbeddable = false;
			if ( ParameterAccessor.SERVLET_PATH_FRAMESET
					.equalsIgnoreCase( request.getServletPath( ) ) )
				isEmbeddable = true;
			setting.setEmbeddable( isEmbeddable );