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
}
	/**
	 * @return the emitter ID to be used to render this report. Could be null,
	 *         in which case the engine will choose one emitter that matches the
	 *         requested output format.
	 */
	public String getEmitterID( )
	{
		return this.emitterID;
	}
	public void close( )
	{
		closeReportDocument( );
		super.close( );
	}
	public void render( String pageRange ) throws EngineException
	{
		setPageRange( pageRange );
		render( );
	}
	private List parsePageSequence( String pageRange, long totalPage )
	{
		ArrayList list = new ArrayList( );
		if ( null == pageRange
				|| "".equals( pageRange ) || pageRange.toUpperCase( ).indexOf( "ALL" ) >= 0 ) 
		{
			list.add( new long[]{1, totalPage} );
			return list;
		}
		String[] ps = pageRange.split( "," );