Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ElementStructureUtil.java
if ( IStyledElementModel.STYLE_PROP.equals( prop.getName( ) ) )
					( (StyledElement) content ).setStyleName( (String) prop
							.getValue( ) );
				else
					content.setProperty( prop.getName( ), prop.getValue( ) );
			}
		}
	}
	/**
	 * Gathers local values of virtual elements in the given design element.
	 * 
	 * @param module
	 * 
	 * @param element
	 *            the design element
	 * @return a map containing overridden values of virtual element. The key is
	 *         the base id of virtual element. The value is a list containing
	 *         property name/value pair.
	 */
	public static Map collectPropertyValues( Module module,
			DesignElement element )
	{
		if ( element == null )
			return Collections.EMPTY_MAP;
		Map map = new HashMap( );
		Module root = element.getRoot( );
		ContentIterator contentIterator = new ContentIterator( module, element );
		while ( contentIterator.hasNext( ) )
		{