Bug 124598 Copy the first table in attached file and paste it will paste a table with higer detail row.
Description: Copy the first table in attached file and paste it will paste a table with higer detail row. Steps to reproduce: 1. Open attached file 2. Copy the first table and paste it Expected result: The table pasted will be the same as its origin table. Actual result: The size of detail row changed in Layout.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/layout/TableLayout.java
int rowNumber = cellPart.getRowNumber( );
			int rowSpan = cellPart.getRowSpan( );
			Dimension minSize = figure.getMinimumSize( data
					.findColumnData( cellPart.getColumnNumber( ) ).width, -1 );
			int samMin = 0;
			int trueSamMin = 0;
			int[] adjustNumber = new int[0];
			for ( int j = rowNumber; j < rowNumber + rowSpan; j++ )
			{
				TableLayoutData.RowData rowData = data.findRowData( j );
				if ( !hasAdjust.contains( new Integer( j ) ) )
				{
					int len = adjustNumber.length;
					int temp[] = new int[len + 1];
					System.arraycopy( adjustNumber, 0, temp, 0, len );
					temp[len] = j;
					adjustNumber = temp;
				}
				else
				{
					samMin = samMin + rowData.trueMinRowHeight;
					trueSamMin = trueSamMin + rowData.trueMinRowHeight;
				}
			}
			int adjustCount = adjustNumber.length;
			if ( adjustCount == 0 )
			{
				continue;
			}
			int value = minSize.height - samMin;