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
context.setMaxHeight( body.getHeight( ) );
		context.setMaxWidth( body.getWidth( ) );
		
		int overFlowType = context.getPageOverflow( );
		if ( overFlowType == IPDFRenderOption.FIT_TO_PAGE_SIZE
				|| overFlowType == IPDFRenderOption.ENLARGE_PAGE_SIZE )
		{
			context.setMaxBP( Integer.MAX_VALUE );
		}
		else
		{
			context.setMaxBP( body.getHeight( ) );
		}
		maxAvaWidth = context.getMaxWidth( );
		context.resetUnresolvedRowHints( );
	}
	
	protected BackgroundImageInfo createBackgroundImage( String url )
	{
		ResourceLocatorWrapper rl = null;
		ExecutionContext exeContext = ( (ReportContent) content
				.getReportContent( ) ).getExecutionContext( );
		if ( exeContext != null )
		{
			rl = exeContext.getResourceLocator( );
		}
		IStyle cs = pageContent.getComputedStyle( );
		BackgroundImageInfo backgroundImage = new BackgroundImageInfo( url, cs
				.getProperty( IStyle.STYLE_BACKGROUND_REPEAT ), 0, 0, 0, 0, rl );