Bug 161178 Support BORDER style for table rows
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/border/TableBorderHelper.java
borderData[( i + 1 ) * ( 2 * colCount + 1 ) + j][4] = -1;
				
				borderData[i * ( 2 * colCount + 1 ) + colCount + j][3] = -1;
				borderData[i * ( 2 * colCount + 1 ) + colCount + j][4] = -1;
				
				borderData[i * ( 2 * colCount + 1 ) + colCount + j + 1][3] = -1;
				borderData[i * ( 2 * colCount + 1 ) + colCount + j + 1][4] = -1;
			}
		}
		
		TableBorder tableBorder = (TableBorder) owner.getFigure( ).getBorder( );
		Insets tableBorderInsets = tableBorder.getTrueBorderInsets( );
		for ( int i = 0; i < colCount; i++ )
		{
			heights[i][0] = tableBorderInsets.top;
			heights[i][rowCount] = tableBorderInsets.bottom;
		}
		for ( int i = 0; i < rowCount; i++ )
		{
			widths[i][0] = tableBorderInsets.left;
			widths[i][colCount] = tableBorderInsets.right;
		}
		
		for ( Iterator itr = owner.getChildren( ).iterator( ); itr.hasNext( ); )
		{
			TableCellEditPart cellPart = (TableCellEditPart) itr.next( );
			int rowIndex = cellPart.getRowNumber( );
			int colIndex = cellPart.getColumnNumber( );
			int rowSpan = cellPart.getRowSpan( );
			int colSpan = cellPart.getColSpan( );