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
{
		int overFlowType = context.getPageOverflow( );
		float scale = calculatePageScale( );
		if ( 1f == scale )
		{
			return;
		}
		if ( overFlowType == IPDFRenderOption.FIT_TO_PAGE_SIZE )
		{
			page.setScale( scale );
			updatePageDimension( scale );
		}
		else if ( overFlowType == IPDFRenderOption.ENLARGE_PAGE_SIZE )
		{
			updatePageDimension( scale );
		}
	}
	private float calculatePageScale( )
	{
		float scale = 1.0f;
		if ( page != null && page.getRoot( ).getChildrenCount( ) > 0 )
		{
			int maxWidth = context.getMaxWidth( );
			int maxHeight = context.getMaxHeight( );
			int prefWidth = context.getPreferenceWidth( );
			int prefHeight = getCurrentBP( );
			Iterator iter = page.getBody( ).getChildren( );
			while ( iter.hasNext( ) )
			{
				AbstractArea area = (AbstractArea) iter.next( );