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
*/
		ContainerArea body = new BlockContainerArea( );
		int bodyLeft = getDimensionValue( pageContent, pageContent
				.getLeftWidth( ), pageRoot.getWidth( ) );
		bodyLeft = Math.max( 0, bodyLeft );
		bodyLeft = Math.min( pageRoot.getWidth( ), bodyLeft );
		body.setPosition( boxStyle.getLeftBorderWidth( ) + bodyLeft,
				headerHeight + boxStyle.getRightBorderWidth( ) );
		int bodyRight = getDimensionValue( pageContent, pageContent
				.getRightWidth( ), pageRoot.getWidth( ) );
		bodyRight = Math.max( 0, bodyRight );
		bodyRight = Math.min( pageRoot.getWidth( ) - bodyLeft, bodyRight );
		body.setWidth( pageRoot.getWidth( ) - bodyLeft - bodyRight
				- boxStyle.getLeftBorderWidth( )
				- boxStyle.getRightBorderWidth( ) );
		body.setHeight( pageRoot.getHeight( ) - headerHeight - footerHeight
				- boxStyle.getTopBorderWidth( )
				- boxStyle.getBottomBorderWidth( ) );
		setBody( body );
		if ( overFlowType == IPDFRenderOption.CLIP_CONTENT
				|| overFlowType == IPDFRenderOption.OUTPUT_TO_MULTIPLE_PAGES )
		{
			pageRoot.setNeedClip( true );
			body.setNeedClip( true );
		}
		else
		{
			pageRoot.setNeedClip( false );
		}