Bug 177108 A height will be added to the last row in XML source when adjusting the width of the column[00]
A height will be added to the last row in XML source when adjusting the width of the column[00] Build number: 2.2.0.v20070313-0630 Steps to reproduce: 1.new a report 2.insert a 3*3 grid and add borders to all the cells,drag mouse to adjust the width of the thrid column,switch to XML Source, "<property name="height">0.2395833333in</property>" displayed 3.preview in PDF Expected result: height of three rows is the same Actual result: The third column is higher than the two others Error log: N/A
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java
transEnd( );
	}
	private int getReallyRowNumber( RowHandle rowHandle, int number )
	{
		TableHandleAdapter.RowUIInfomation rowInfo = getRowInfo( rowHandle );
		int rowNumber = HandleAdapterFactory.getInstance( )
				.getRowHandleAdapter( rowHandle ).getRowNumber( );
		List rowList = rowInfo.getAllChildren( );
		int retValue = number;
		List hasAdjust = new ArrayList( );
		for ( int i = 0; i < number - 1; i++ )
		{
			Object fillCell = rowList.get( i );
			CellHandleAdapter cellAdapt = HandleAdapterFactory.getInstance( )
					.getCellHandleAdapter( fillCell );
			if ( hasAdjust.contains( fillCell ) )
			{
				retValue = retValue - 1;
				continue;
			}
			if ( cellAdapt.getRowNumber( ) != rowNumber )
			{
				retValue = retValue - 1;
			}
			hasAdjust.add( fillCell );
		}
		return retValue;
	}
	/**
	 * Insert multiple columns to a specific position.