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/core/StyledElement.java
if ( newStyle != null )
		{
			if ( style == null )
				style = new ElementRefValue( null, newStyle );
			else
				style.resolve( newStyle );
			newStyle.addClient( this, STYLE_PROP );
		}
		else
			style = null;
	}
	/**
	 * Sets the shared style by name. If null, the style is cleared. Use this
	 * form to represent an "unresolved" style: a reference to an undefined
	 * style, or a forward reference while parsing a design file.
	 * 
	 * @param theName
	 *            the style name
	 */
	public void setStyleName( String theName )
	{
		if ( style == null && theName == null )
			return;
		setStyle( null );
		assert style == null;
		style = new ElementRefValue( null, theName );
	}
	/**
	 * Returns the value of an intrinsic property.If the property name is
	 * <code>style</code> then return the style element.