if ( prop.isStyleProperty( ) ) { String selector = getDefn( ).getSelector( ); value = getPropertyFromSelector( design, prop, selector ); if ( value != null ) return value; }
	public Object getPropertyFromElement( ReportDesign design,			ElementPropertyDefn prop )	{		Object value = null;		// 1). If we can find the value here, return it.		value = getLocalProperty( design, prop );		if ( value != null )			return value;		// 2). Does the style provide the value of this property ?		StyleElement style = getLocalStyle( );		if ( style != null )		{			value = style.getLocalProperty( design, prop );			if ( value != null )				return value;		}		// Can we search the parent element and container element ?		if ( !prop.canInherit( ) )		{			return getDefaultValue( design, prop );		}		// 3). Does the parent provide the value of this property?		value = getPropertyFromParent( design, prop );		if ( value != null )			return value;		// 4). Check if this element predefined style provides		// the property value		String selector = getDefn( ).getSelector( );		value = getPropertyFromSelector( design, prop, selector );		if ( value != null )			return value;		// Is this property style property? or		// Is this element is a style?		if ( !prop.isStyleProperty( ) || isStyle( ) )			return getDefaultValue( design, prop );		return null;	}