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/layout/pdf/PDFReportLayoutEngine.java
context = new PDFLayoutEngineContext( this );
		factory = new PDFLayoutManagerFactory( context );
		context.setFactory( factory );
	}
	protected PDFLayoutManagerFactory createLayoutManagerFactory(
			PDFLayoutEngineContext context )
	{
		return new PDFLayoutManagerFactory( this.context );
	}
	protected void layoutReport( IReportContent report,
			IReportExecutor executor, IContentEmitter output )
	{
		if ( output == null )
		{
			return;
		}
		FontHandler.prepareFonts( );
		PDFPageLM pageLM = new PDFPageLM( this, context, report, output,
				executor );
		while ( pageLM.layout( ) );
	}
	public void layout( IReportExecutor executor, IContentEmitter output, boolean pagination )
	{
		this.executor = executor;
		IReportContent report = executor.execute( );
		if ( output != null )
		{
			output.start( report );
		}
		layoutReport( report, executor, output );