Bug 146352 support cancel execution for "view report ..." tool bar and menu actions.
Current "view report as HTML" and "view report as PDF" in the menu tool bar uses RunAndRender task to stream back the report output. As a result, total page count is not available when the report is being streamed back. Please change these two requests to use Run task and then render task to generate HTML or PDF, so that the total page count is calculate. preview tab could continue to use RunAndRender task, since it is for preview.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/servlet/BirtSoapMessageDispatcherServlet.java
/**
	 * Viewer fragment references.
	 */
	protected IFragment viewer = null;
	/**
	 * Abstract methods.
	 */
	abstract protected void __init( ServletConfig config );
	abstract protected boolean __authenticate( HttpServletRequest request,
			HttpServletResponse response );
	abstract protected IContext __getContext( HttpServletRequest request,
			HttpServletResponse response );
	abstract protected void __doGet( IContext context )
			throws ServletException, IOException, BirtException;
	abstract protected void __doPost( IContext context )
			throws ServletException, IOException, BirtException;
	abstract protected void __handleNonSoapException( IContext context,
			Exception exception ) throws ServletException, IOException;
	/**
	 * Check version.
	 * 
	 * @return
	 */
	public static boolean isOpenSource( )
	{
		return openSource;
	}
	/**
	 * Servlet init.
	 *