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
import org.eclipse.birt.report.engine.executor.OnPageBreakLayoutPageHandle;
import org.eclipse.birt.report.engine.executor.ReportExecutor;
import org.eclipse.birt.report.engine.extension.internal.ExtensionManager;
import org.eclipse.birt.report.engine.i18n.MessageConstants;
import org.eclipse.birt.report.engine.internal.document.ReportContentLoader;
import org.eclipse.birt.report.engine.internal.executor.doc.ReportPageReader;
import org.eclipse.birt.report.engine.internal.executor.doc.ReportletReader;
import org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor;
import org.eclipse.birt.report.engine.layout.IReportLayoutEngine;
import org.eclipse.birt.report.engine.layout.LayoutEngineFactory;
import org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
public class RenderTask extends EngineTask implements IRenderTask
{
	IReportDocument reportDoc;
	String emitterID;
	boolean bodyOnly;
	private InnerRender innerRender;
	/**
	 * @param engine
	 *            the report engine
	 * @param runnable
	 *            the report runnable object
	 * @param reportDoc
	 *            the report document instance
	 */
	public RenderTask( IReportEngine engine, IReportRunnable runnable,
			IReportDocument reportDoc )
	{
		super( engine, runnable );