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
}
		module.rename( childElement.getElement( ) );
		return childElement;
	}
	/**
	 * Creates a new theme element. The name is required. If the
	 * <code>name</code> is null, we will make a unique name for it.
	 * 
	 * @param name
	 *            the theme item name.
	 * @return a handle to the theme item
	 */
	public ThemeHandle newTheme( String name )
	{
		Theme element = new Theme( name );
		module.makeUniqueName( element );
		return element.handle( module );
	}
	/**
	 * Creates a new cube element. The name is required. If the
	 * <code>name</code> is null, we will make a unique name for it.
	 * 
	 * @param name
	 *            the cube element name.
	 * @return a handle to the cube element
	 */
	public TabularCubeHandle newTabularCube( String name )
	{
		TabularCube element = new TabularCube( name );
		module.makeUniqueName( element );