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/IBirtConstants.java
{
	
	static public final String OPRAND_PAGENO = "page"; 
	static public final String OPRAND_BOOKMARK = "bookmark"; 
	static public final String OPRAND_TOC = "isToc"; 
	static public final String OPRAND_SVG = "svg"; 
	static public final String OPRAND_PARAM = "param"; 
	static public final String OPRAND_IID = "iid"; 
	
	static public String MIME_TYPE = "text/xml"; 
	static public String HTML_RENDER_FORMAT = HTMLRenderOption.OUTPUT_FORMAT_HTML;
	public static final String PDF_RENDER_FORMAT = HTMLRenderOption.OUTPUT_FORMAT_PDF;
	
	public static final String SERVLET_PATH_PARAMETER = "/parameter"; 
	
	public static final String SERVLET_PATH_PREVIEW = "/preview"; 
	
	public static final String SERVLET_PATH_FRAMESET = "/frameset"; 
	
	public static final String SERVLET_PATH_RUN = "/run";