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
return;
		for ( int i = 0; i < defn.getSlotCount( ); i++ )
		{
			new ContainerContext( element, i ).clearContents( );
		}
		List properties = defn.getContainmentProperties( );
		for ( int i = 0; i < properties.size( ); i++ )
		{
			PropertyDefn propDefn = (PropertyDefn) properties.get( i );
			new ContainerContext( element, propDefn.getName( ) ).clearContents( );
		}
	}
	/**
	 * Updates layout structures of content elements in the given element. If
	 * one element can find its extends parent, use parent's layout structure.
	 * Otherwise, its layout strcuture is cleared.
	 * 
	 * @param element
	 *            the element
	 * @param module
	 *            the module
	 * 
	 */
	public static void updateContentStructures( DesignElement element,
			Module module )
	{
		ContentIterator contentIter = new ContentIterator( module, element );
		while ( contentIter.hasNext( ) )
		{
			DesignElement content = (DesignElement) contentIter.next( );