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/ReportDesignSerializer.java
Set externalOriginalElements = externalElements.keySet( );
		if ( externalOriginalElements.contains( element ) )
			return newElement;
		
		if ( element instanceof ReportDesign )
			return newElement;
		DesignElement container = (DesignElement) elements.peek( );
		newElement.setID( element.getID( ) );
		int slotId = element.getContainerInfo( ).getSlotID( );
		container.add( newElement, slotId );
		if ( newElement.getName( ) != null )
		{
			int ns = ( (ElementDefn) newElement.getDefn( ) ).getNameSpaceID( );
			if ( ns >= 0 )
				targetDesign.getNameSpace( ns ).insert( newElement );
		}
		targetDesign.addElementID( newElement );
		return newElement;
	}
	/**
	 * Creates a structure by the given structure. The given structure must be a
	 * structure that is not directly defined in the source design.
	 * 
	 * @param struct
	 *            the source structure
	 * @return the new structure
	 */
	private IStructure visitExternalStruct( IStructure struct )
	{