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
{
				
				
				IContentEmitter emitter = createContentEmitter( );
				ReportDesignHandle reportDesign = executionContext.getDesign( );
				String format = executionContext.getOutputFormat( );
				if ( "pdf".equalsIgnoreCase( format ) ) 
				{
					IReportExecutor executor = new ReportletReader(
							executionContext, offset );
					executor = new LocalizedReportExecutor( executionContext,
							executor );
					executionContext.setExecutor( executor );
					initializeContentEmitter( emitter, executor );
					IReportLayoutEngine layoutEngine = LayoutEngineFactory
							.createLayoutEngine( format );
					OnPageBreakLayoutPageHandle handle = new OnPageBreakLayoutPageHandle( executionContext );
					layoutEngine.setPageHandler( handle );
					startRender( );
					layoutEngine.layout( executor, emitter, true );
					closeRender( );
					executor.close( );
				}
				else
				{
					ReportContentLoader loader = new ReportContentLoader(
							executionContext );
					IReportExecutor executor = new ReportExecutor(
							executionContext, reportDesign, null );
					executor = new LocalizedReportExecutor( executionContext,