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
}
	public boolean isEnlargePageSize( )
	{
		return enlargePageSize;
	}
	public void setEnlargePageSize( boolean enlargePageSize )
	{
		this.enlargePageSize = enlargePageSize;
	}
	public PageArea cloneArea( )
	{
		return new PageArea( this );
	}
	
	protected BoxStyle buildRootStyle( )
	{
		IStyle style = pageContent.getStyle( );
		if ( ( style != null ) && !style.isEmpty( ) )
		{
			BoxStyle boxStyle = new BoxStyle( );
			IStyle cs = pageContent.getComputedStyle( );
			int borderWidth = getDimensionValue( cs
					.getProperty( IStyle.STYLE_BORDER_LEFT_WIDTH ), width );
			if ( borderWidth > 0 )
			{
				boxStyle.setLeftBorder( new BorderInfo( cs
						.getProperty( IStyle.STYLE_BORDER_LEFT_COLOR ), cs
						.getProperty( IStyle.STYLE_BORDER_LEFT_STYLE ),
						borderWidth ) );
			}