( (StyledElement) target ).setStyle( null );
	static void resolveStyle( ReportDesign targetDesign, DesignElement target,			DesignElement source )	{		assert targetDesign != null && target != null && source != null;		assert target instanceof StyledElement;		assert source instanceof StyledElement;		Module sourceModule = source.getRoot( );		assert sourceModule != null;		DesignElement style = ( (StyledElement) source )				.getStyle( sourceModule );		// handle only when the style is not local one but a library resource		if ( style != null && style.getRoot( ) != sourceModule )		{			Module root = style.getRoot( );			assert root != null;			// copy all the local values in the style			IElementDefn defn = style.getDefn( );			Iterator iter = defn.getPropertyIterator( );			while ( iter.hasNext( ) )			{				PropertyDefn prop = (PropertyDefn) iter.next( );				Object value = style.getLocalProperty( root, prop.getName( ) );				if ( value != null )				{					// only handle values that not set in the target element					if ( target.getPropertyDefn( prop.getName( ) ) != null							&& target									.getProperty( targetDesign, prop.getName( ) ) == null )						target.setProperty( prop.getName( ), value );				}			}			// clear the style reference of the target element			( (StyledElement) target ).setStyle( null );		}	}