Bug 199862 Master page should not an inheritable property [05]
Description: Master page should not an inheritable property. Build number: 2.2.1.v20070814-0630 Steps to reproduce: 1. New a table with a label in one cell. 2. Select "Simple MasterPage" for "Master Page" of table in Property Editor. Expected result: "Master Page" of label in Property editor should be "None". Actual result: "Master Page" of label in Property is "Simple MasterPage". Error log: N/A
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
.getMember( memberName );
		Iterator iter = list.iterator( );
		while ( iter.hasNext( ) )
		{
			IStructure struct = (IStructure) iter.next( );
			propertyWithoutName( struct, memberDefn.getName( ) );
		}
		writer.endElement( );
	}
	/**
	 * Writes the structure list, each of which has only one member.
	 * 
	 * @param obj
	 *            the design element
	 * @param propName
	 *            the name of the list property
	 */
	protected void writeStructure( DesignElement obj, String propName )
	{
		PropertyDefn prop = (ElementPropertyDefn) obj.getDefn( ).getProperty(
				propName );
		if ( prop == null )
			return;
		IStructure struct = (IStructure) obj.getLocalProperty( getModule( ),
				propName );
		if ( struct == null )
			return;
		writer.conditionalStartElement( DesignSchemaConstants.STRUCTURE_TAG );
		writer.attribute( DesignSchemaConstants.NAME_ATTRIB, propName );
		IStructureDefn structDefn = prop.getStructDefn( );