Bug 176676 [Automation][Regression] table width property does not work in pdf
steps to reproduce: - use the attached report design expected behavior: - table width is changed to 10cm actual behavior: - this did not work when preview in pdf
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/PDFTableLMTest.java
validateColumnWidth(table, new int[]{144000, 208000, 80000});
		
		table = (TableArea) iter.next( );
		validateColumnWidth(table, new int[]{432000, 0, 0});
		
		table = (TableArea) iter.next( );
		validateColumnWidth(table, new int[]{216000, 432000, 0});
		
		table = (TableArea) iter.next( );
		validateColumnWidth(table, new int[]{216000, 432000, 0});
		
		table = (TableArea) iter.next( );
		validateColumnWidth(table, new int[]{216000, 216000, 0});
	}
	
	private void validateColumnWidth(TableArea table, int[] cols)
	{
		assertTrue(table!=null);
		assertTrue(table.getChildrenCount( )>0);
		RowArea row = (RowArea)table.getChildren( ).next( );
		Iterator iter = row.getChildren( );
		for(int i=0; i<cols.length; i++)
		{
			CellArea cell = (CellArea)iter.next();
			assertEquals(new Integer(cols[i]), new Integer(cell.getWidth()));
		}
			
	}
	
}