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
{
	final static int DEFAULT_PAGE_WIDTH = 595275;
	final static int DEFAULT_PAGE_HEIGHT = 841889;
	private transient boolean extendToMultiplePages = false;
	private transient boolean enlargePageSize = false;
	protected ContainerArea root;
	protected ContainerArea body;
	protected RegionArea header;
	protected RegionArea footer;
	
	protected transient IPageContent pageContent;
	
	protected transient LayoutEmitterAdapter emitter;
	
	private transient int pageContentWidth = DEFAULT_PAGE_WIDTH;
	private transient int pageContentHeight = DEFAULT_PAGE_HEIGHT;
	private transient int rootWidth;
	private transient int rootHeight;
	private transient int rootLeft;
	private transient int rootTop;
	public PageArea( LayoutContext context, IContent content,
			LayoutEmitterAdapter emitter )
	{
		super( null, context, content );
		this.emitter = emitter;
		pageContent = (IPageContent) content;
	}
	public PageArea( PageArea area )
	{
		super( area );