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/PDFBlockStackingLM.java
}
		
		public CompositeArea getFirstN(int count)
		{
			CompositeArea areas = new CompositeArea();
			for(int i=0; i<count; i++)
			{
				AbstractArea area = (AbstractArea)this.getFirst( );
				if(area!=null)
				{
					areas.add( area );
				}
				else
				{
					return areas;
				}
			}
			return areas;
		}
		
		public CompositeArea getAreas(int height, boolean force)
		{
			if(height>=this.height)
			{
				return this;
			}
			else
			{
				CompositeArea areas = new CompositeArea();
				int current = 0;