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
band.getChildren( ).add( row );
		row.setParent( band );
		band.setParent( tableContent );
		PDFTableRegionLM regionLM = getTableRegionLayout();
		regionLM.initialize( band );
		regionLM.layout( );
		TableArea tableRegion = (TableArea) content
				.getExtension( IContent.LAYOUT_EXTENSION );
		if ( tableRegion != null
				&& tableRegion.getHeight( ) < getCurrentMaxContentHeight( ) )
		{
			
			Iterator iter = tableRegion.getChildren( );
			while ( iter.hasNext( ) )
			{
				RowArea rowArea = (RowArea) iter.next( );
				addArea( rowArea, false, false );
				repeatRowCount++;
			}
		}
		content.setExtension( IContent.LAYOUT_EXTENSION, null );
	}
	protected IReportItemExecutor createExecutor( )
	{
		return executor;
	}
	protected boolean isRootEmpty( )
	{
		return !( ( root != null && root.getChildrenCount( ) > repeatRowCount ) || isLast );
	}