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
if ( context.pagebreakPaginationOnly( ) )
		{
			maxAvaHeight = Integer.MAX_VALUE;
		}
		else
		{
			maxAvaHeight = context.getMaxHeight( );
		}
		setCurrentIP( 0 );
		setCurrentBP( 0 );
	}
	/**
	 * support body auto resize, remove invalid header and footer
	 * 
	 * @param page
	 */
	protected void updateBodySize( PageArea page )
	{
		IContainerArea header = page.getHeader( );
		ContainerArea footer = (ContainerArea) page.getFooter( );
		ContainerArea body = (ContainerArea) page.getBody( );
		ContainerArea root = (ContainerArea) page.getRoot( );
		if ( header != null && header.getHeight( ) >= root.getHeight( ) )
		{
			page.removeHeader( );
			header = null;
		}
		if ( footer != null && footer.getHeight( ) >= root.getHeight( ) )
		{
			page.removeHeader( );