Bug 199982 Table displays from the second page instead of the first.[0004]
Description: Table displays from the second page instead of the first. Build number:2.2.1.v20070814 steps to reproduce: 1. Preview attached report in pdf. Expected result: The table displays from the first page. Actual result: The first page displays label and grid content only. Table displays from the second page. Error log:n/a
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTableLM.java
maxAvaWidth = layoutInfo.getTableWidth( );
			setCurrentIP( 0 );
			setCurrentBP( 0 );
			repeatRowCount = 0;
			rowCount = 0;
			
		}
		if ( layout == null )
		{
			layout = new TableAreaLayout( tableContent, layoutInfo, startCol,
					endCol );
			layout.initTableLayout( context.getUnresolvedRowHint( tableContent ) );
		}
		if ( parent != null )
		{
			root.setAllocatedHeight( parent.getCurrentMaxContentHeight( ) );
		}
		else
		{
			root.setAllocatedHeight( context.getMaxHeight( ) );
		}
		maxAvaHeight = root.getContentHeight( ) - getBottomBorderWidth( );
	}
	protected void closeLayout( )
	{
		regionLayout = null;
		
		if ( root == null )
		{
			return;