Bug 157722 List group header displays twice when the group begins in a new page.
Description: List group header displays twice when the group begins in a new page. Steps to reproduce: 1. Preview attached report in pdf. 2. See the next page Expected result: One group header. Actual result: Group header displays twice.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTableGroupLM.java
package org.eclipse.birt.report.engine.layout.pdf;
import java.util.Iterator;
import org.eclipse.birt.report.engine.content.IBandContent;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IGroupContent;
import org.eclipse.birt.report.engine.content.ITableBandContent;
import org.eclipse.birt.report.engine.executor.IReportItemExecutor;
import org.eclipse.birt.report.engine.internal.executor.dom.DOMReportItemExecutor;
import org.eclipse.birt.report.engine.layout.IBlockStackingLayoutManager;
import org.eclipse.birt.report.engine.layout.IPDFTableLayoutManager;
import org.eclipse.birt.report.engine.layout.area.IArea;
import org.eclipse.birt.report.engine.layout.area.impl.AreaFactory;
import org.eclipse.birt.report.engine.layout.area.impl.RowArea;
import org.eclipse.birt.report.engine.layout.area.impl.TableArea;
public class PDFTableGroupLM extends PDFGroupLM
		implements
			IBlockStackingLayoutManager
{
	protected PDFTableLM tableLM = null;
	protected boolean firstRow = true;
	public PDFTableGroupLM( PDFLayoutEngineContext context,
			PDFStackingLM parent, IContent content, IReportItemExecutor executor )
	{
		super( context, parent, content, executor );
		IPDFTableLayoutManager lm = getTableLayoutManager( );
		assert(lm instanceof PDFTableLM);
		tableLM = (PDFTableLM) lm;
		tableLM.startGroup( (IGroupContent) content );
	}