Bug 197451 Export report current page to pdf will cause a redundant first page.[1200]
Description: Export report current page to pdf will cause a redundant first page. Build number:2.2.1.v20070723 Steps to reproduce: 1. Open attached report. 2. Preview in Web Viewer, navigate to second page. 3. Click Export Report->PDF, select current page and click OK. Expected result: Display data rows in second page, total two pages. Actual result: First page display table header without data. Second and third pages display the expected result. Error log:n/a
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RenderTask.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api.IRenderTask#setPageRange( String
	 *      pageRange )
	 */
	public void setPageRange( String pageRange ) throws EngineException
	{
		innerRender = new PageRangeRender( parsePageSequence( pageRange,
					reportDoc.getPageCount( ) ) );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api.IRenderTask#setBookmark( String
	 *      bookmark )
	 */
	public void setBookmark( String bookmark ) throws EngineException
	{
		long pageNumber = reportDoc.getPageNumber( bookmark );
		if ( pageNumber <= 0 )
		{
			throw new EngineException( "Can not find bookmark :{0}", bookmark ); 
		}
		innerRender = new PageRangeRender( new long[]{pageNumber, pageNumber} );
	}
	public void setReportlet( String bookmark ) throws EngineException
	{
		innerRender = new ReportletRender( bookmark );
	}
	private abstract class InnerRender