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
}
	private int getIndexofParent( CellHandle cellHandle )
	{
		CellHandleAdapter cellAdapt = HandleAdapterFactory.getInstance( )
				.getCellHandleAdapter( cellHandle );
		TableHandleAdapter.RowUIInfomation info = getRowInfo( cellHandle
				.getContainer( ) );
		List list = info.getAllChildren( );
		int index = list.indexOf( cellHandle );
		List temp = new ArrayList( );
		int number = 0;
		for ( int j = 0; j < index; j++ )
		{
			CellHandleAdapter childCellAdapt = HandleAdapterFactory
					.getInstance( ).getCellHandleAdapter( list.get( j ) );
			if ( childCellAdapt.getRowNumber( ) == cellAdapt.getRowNumber( )
					&& !temp.contains( list.get( j ) ) )
			{
				number = number + 1;
			}
			temp.add( list.get( j ) );
		}
		return number;
	}
	/**
	 * Gets the cell handle copy to support row/column insert.
	 * 
	 * @param cellHandle
	 * @return
	 * @throws SemanticException