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
prefWidth = Math.max( prefWidth, area.getAllocatedWidth() );
			}
			if ( prefHeight > maxHeight )
			{
				( (ContainerArea) page.getBody( ) ).setHeight( prefHeight );
				floatingFooter( );
			}
			if ( prefWidth > maxWidth || prefHeight > maxHeight )
			{
				scale = Math.min( maxWidth / (float) prefWidth, maxHeight
						/ (float) prefHeight );
			}
		}
		return scale;
	}
	protected void updatePageDimension( float scale )
	{
		
		page.setHeight( (int) ( page.getHeight( ) / scale ) );
		page.setWidth( (int) ( page.getWidth( ) / scale ) );
		ContainerArea pageRoot = (ContainerArea) page.getRoot( );
		pageRoot.setPosition( (int) ( pageRoot.getX( ) / scale ),
				(int) ( pageRoot.getY( ) / scale ) );
		pageRoot.setHeight( (int) ( pageRoot.getHeight( ) / scale ) );
		pageRoot.setWidth( (int) ( pageRoot.getWidth( ) / scale ) );
	}
	protected boolean addToRoot(AbstractArea area)
	{	
		root.addChild( area );
		area.setAllocatedPosition( currentIP + offsetX, currentBP + offsetY );