Bug 186940 Style name in theme cannot be identify by auto when reopen the library[01]
Description: Style name in theme cannot be identify by auto when reopen the library[01] Step: 1.Open a library and add a theme 2.New a style on the theme and use the default name that is "NewStyle" 3.Save the library, close it and reopen it again. 4.New another style on the same theme Actual result: The default style name on second times is also "NewStyle" Exception result: The default style name on second times is "NewStyle1"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ElementFactory.java
*            row number of the grid. If it is less than 0, none row will be
	 *            added.
	 * 
	 * @return a handle to the grid item
	 */
	public GridHandle newGridItem( String name, int columnNum, int rowNum )
	{
		GridHandle gridHandle = newGridItem( name );
		GridItem grid = (GridItem) gridHandle.getElement( );
		columnNum = columnNum >= 0 ? columnNum : 0;
		rowNum = rowNum >= 0 ? rowNum : 0;
		for ( int i = 0; i < columnNum; i++ )
		{
			TableColumn column = new TableColumn( );
			grid.add( column, IGridItemModel.COLUMN_SLOT );
		}
		for ( int i = 0; i < rowNum; i++ )
		{
			TableRow row = (TableRow) newTableRow( columnNum ).getElement( );
			grid.add( row, IGridItemModel.ROW_SLOT );
		}
		return gridHandle;
	}
	/**
	 * Creates a new line item.
	 * 
	 * @param name
	 *            the optional line item name. Can be <code>null</code>.
	 * @return a handle to the line item
	 */