Bug 173223 Pages are lost when preview as PDF in web viewer[0002]
Pages are lost when preview as PDF in web viewer[0002] Build number: 2.2.0.v20070207-0941 Steps to reproduce: 1.open attached report design 2.preview in web viewer ,there are three pages,then click Print as PDF,there'll be only one page in PDF,but when you directly preview in PDF,there'll be three pages Expected result: 3 pages are displayed Actual result: only one page is displayed Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
.equalsIgnoreCase( getParameter( request, PARAM_ISREPORTLET ) ) )
		{
			String bookmark = getParameter( request, PARAM_BOOKMARK );
			return bookmark != null && bookmark.length( ) > 0;
		}
		return false;
	}
	/**
	 * if the PARAM_INSTANCEID parameter in the url is not null, then return
	 * true to render the reportlet.
	 * 
	 * @param request
	 * @return true for render the reprtlet based on the instance id.
	 */
	public static boolean isIidReportlet( HttpServletRequest request )
	{
		String instanceId = getParameter( request, PARAM_INSTANCEID );
		return instanceId != null && instanceId.length( ) > 0;
	}
	/**
	 * Check whether the viewer allows master page content or not.
	 * 
	 * @param request
	 * @return
	 */
	public static boolean isMasterPageContent( HttpServletRequest request )
	{
		boolean isMasterPageContent = true;
		if ( "false".equalsIgnoreCase( getParameter( request, PARAM_MASTERPAGE ) ) ) 
		{