Bug 210891 [Automation][Acceptance]Table header is repeated in PDF
Description: Table header is repeated in PDF. Test Date: 20071126 Test Build: BIRT2.3.0 Daily Build: v20071126-0800 Step to reproduce: 1. Use the reportdesign attached 2. Preview it in PDF Expect result: "USA" should not repeat. Actual result: "USA" is repeated.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFPageLM.java
currentBP += area.getAllocatedHeight( );
		assert root instanceof PageArea;
		AbstractArea body = (AbstractArea)((PageArea)root).getBody();
		if ( currentIP + area.getAllocatedWidth( ) 
				> root.getContentWidth( )-body.getX( ))
		{
			root.setNeedClip( true );
		}
		
		if( currentBP > maxAvaHeight )
		{
			root.setNeedClip( true );
		}
		return true;
	}
	
	protected boolean isRootEmpty( )
	{
		if ( page != null )
		{
			IContainerArea body = page.getBody( );
			if ( body.getChildrenCount( ) > 0 || isFirst && isLast )
			{
				return false;
			}
		}
		return true;
	}
}