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
borderWidth = getDimensionValue( cs
					.getProperty( IStyle.STYLE_BORDER_RIGHT_WIDTH ), width );
			if ( borderWidth > 0 )
			{
				boxStyle.setRightBorder( new BorderInfo( cs
						.getProperty( IStyle.STYLE_BORDER_RIGHT_COLOR ), cs
						.getProperty( IStyle.STYLE_BORDER_RIGHT_STYLE ),
						borderWidth ) );
			}
			borderWidth = getDimensionValue( cs
					.getProperty( IStyle.STYLE_BORDER_TOP_WIDTH ), width );
			if ( borderWidth > 0 )
			{
				boxStyle.setTopBorder( new BorderInfo( cs
						.getProperty( IStyle.STYLE_BORDER_TOP_COLOR ), cs
						.getProperty( IStyle.STYLE_BORDER_TOP_STYLE ),
						borderWidth ) );
			}
			borderWidth = getDimensionValue( cs
					.getProperty( IStyle.STYLE_BORDER_BOTTOM_WIDTH ), width );
			if ( borderWidth > 0 )
			{
				boxStyle.setBottomBorder( new BorderInfo( cs
						.getProperty( IStyle.STYLE_BORDER_BOTTOM_COLOR ), cs
						.getProperty( IStyle.STYLE_BORDER_BOTTOM_STYLE ),
						borderWidth ) );
			}
			return boxStyle;
		}
		return boxStyle.DEFAULT;