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 void close( ) throws BirtException
	{
		int overFlowType = context.getPageOverflow( );
		if ( overFlowType == IPDFRenderOption.FIT_TO_PAGE_SIZE )
		{
			float scale = calculatePageScale( this );
			if ( 1f == scale )
			{
				pageContent.setExtension( IContent.LAYOUT_EXTENSION, this );
				outputPage( pageContent );
				return;
			}
			this.setScale( scale );
			getBody( ).setNeedClip( false );
			updatePageDimension( scale, this );
		}
		else if ( overFlowType == IPDFRenderOption.ENLARGE_PAGE_SIZE )
		{
			getBody( ).setNeedClip( false );
			updatePageDimension( this );
		}
		pageContent.setExtension( IContent.LAYOUT_EXTENSION, this );
		outputPage( pageContent );
		finished = true;
	}
	public boolean isPageEmpty( )
	{
		if ( body.getChildrenCount( ) > 0 )
		{