Bug 144613 Blank page when set group page break before as always.
Description: Blank page when set group page break before as always. Steps to reproduce: 1. Insert a table. 2. Add a group, set group page break before to always 3. Delete table header and footer 4. Preview in html and pdf Expected result: No blank page Actual result: A blank page in html. If you set group page-break-after to always and preview, no blank page.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFPageLM.java
}
			}
			totalPageContent.setExtension( IContent.LAYOUT_EXTENSION,
					totalPageArea );
			getEmitter( ).startAutoText( totalPageContent );
		}
	}
	protected void createRoot( )
	{
		root = new PageArea( pageContent );
		page = (PageArea) root;
		int pageWidth = getDimensionValue( pageContent.getPageWidth( ) );
		int pageHeight = getDimensionValue( pageContent.getPageHeight( ) );
		
		if ( pageWidth <= 0 || pageHeight <= 0 )
		{
			pageWidth = DEFAULT_PAGE_WIDTH;
			pageHeight = DEFAULT_PAGE_HEIGHT;
		}
		page.setWidth( pageWidth );
		page.setHeight( pageHeight );
		/**
		 * set positon and dimension for root
		 */
		ContainerArea pageRoot = new LogicContainerArea( );
		int rootLeft = getDimensionValue( pageContent.getMarginLeft( ),
				pageWidth );
		int rootTop = getDimensionValue( pageContent.getMarginTop( ), pageWidth );
		rootLeft = Math.max( 0, rootLeft );
		rootLeft = Math.min( pageWidth, rootLeft );