Bug 144585 render a report using ReportRunner, HTML and PDF reports are different
steps to reproduce: - render attached report using ReportRunner from Windows command line genReport -m render -o Sample(excludelib)50.html -f html -p 50 -l "en" Sample(excludelib).rptdocument genReport -m render -o Sample(excludelib)50.pdf -f pdf -p 50 -l "en" Sample(excludelib).rptdocument expected behavior: - HTML and PDF reports are same actual behavior: - they were different, pdf report had extra table header in 1st page
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#setInstanceID( InstanceID iid )
	 */
	public void setInstanceID( InstanceID iid ) throws EngineException
	{
		innerRender = new ReportletRender( iid );
	}
	/* (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't find bookmark :{0}", bookmark ); 
		}
		innerRender = new PageRender( pageNumber );
	}
	public void setReportlet( String bookmark ) throws EngineException
	{
		innerRender = new ReportletRender( bookmark ); 
	}
	private interface InnerRender