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
public static final String SERVLET_PATH_DOWNLOAD = "/download"; 
	
	public static final String VIEWER_PARAMETER = "parameter"; 
	
	public static final String VIEWER_FRAMESET = "frameset"; 
	
	public static final String VIEWER_RUN = "run"; 
	public static final String REQUEST_GET = "get"; 
	
	public static final String REQUEST_POST = "post"; 
	
	public static final String SUFFIX_DESIGN_FILE = "rptdesign"; 
	
	public static final String SUFFIX_TEMPLATE_FILE = "rpttemplate"; 
	
	public static final String SUFFIX_LIBRARY_FILE = "rptlibrary"; 
	
	public static final String SUFFIX_DESIGN_DOCUMENT = "rptdocument"; 
	
	public static final String SUFFIX_DESIGN_CONFIG = "rptconfig"; 
	
	
	public static final String ATTRIBUTE_BEAN = "attributeBean"; 
	
	
	public static final String IS_CASCADE = "isCascade"; 
	
	
	public static final String PROP_TYPE = "type"; 
}