Bug 414088 Error in code of PageArea.createRoot
This seems to me like a copy&paste error in the code: protected void createRoot( ) { ... pageRoot.setBoxStyle( boxStyle ); rootLeft = getDimensionValue( pageContent, pageContent.getMarginLeft( ), pageContentWidth ); rootTop = getDimensionValue( pageContent, pageContent.getMarginTop( ), pageContentWidth ); rootLeft = Math.max( 0, rootLeft ); ... Consider the line "rootTop = ...". Shouldn't this read rootTop = getDimensionValue( pageContent, pageContent.getMarginTop( ), pageContentHeight ); instead?
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/PageArea.java
header.context = context;
		header.needClip = true;
		header.setPosition( boxStyle.getLeftBorderWidth( ), boxStyle
				.getTopBorderWidth( ) );
		pageRoot.addChild( header );
		setHeader( header );
		header.setParent( pageRoot );
		/**
		 * set position and dimension for footer
		 */
		int footerHeight = getDimensionValue( pageContent, pageContent
				.getFooterHeight( ), pageRoot.getHeight( ) );
		int footerWidth = pageRoot.getWidth( ) - boxStyle.getLeftBorderWidth( )
				- boxStyle.getRightBorderWidth( );
		footerHeight = Math.max( 0, footerHeight );
		footerHeight = Math.min( pageRoot.getHeight( ) - headerHeight,
				footerHeight );
		RegionArea footer = new RegionArea( );
		footer.setHeight( footerHeight );
		footer.setWidth( footerWidth );
		footer.context = context;
		footer.needClip = true;
		footer.setPosition( boxStyle.getLeftBorderWidth( ), pageRoot
				.getHeight( )
				- boxStyle.getBottomBorderWidth( ) - footerHeight );
		pageRoot.addChild( footer );
		setFooter( footer );
		footer.setParent( pageRoot );
		/**
		 * set position and dimension for body