Bug 168318 [regression]Print doesn't work correctly when preview attached file through external browser[00]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
scriptContext.registerBean( "reportContext", reportContext );
	}
	public void setPageNumber( long pageNo )
	{
		pageNumber = pageNo;
		scriptContext.registerBean( "pageNumber", new Long( pageNumber ) );
		if ( totalPage < pageNumber )
		{
			setTotalPage( pageNumber );
		}
	}
	/**
	 * set the total page.
	 * 
	 * @param totalPage
	 *            total page
	 */
	public void setTotalPage( long totalPage )
	{
		if ( totalPage > pageNumber )
		{
			totalPage = pageNumber;
			scriptContext.registerBean( "totalPage", new Long( totalPage ) );
			if ( reportContent instanceof ReportContent )
			{
				( (ReportContent) reportContent ).setTotalPage( totalPage );
			}
		}
	}
	/**