if ( source instanceof Label || source instanceof TextItem ) { localizeExternalStringProperty( sourceDesign, target, source ); }
	static void resolveElementReference( ReportDesign targetDesign,			ReportDesign sourceDesign, DesignElement target,			DesignElement source )	{		if ( targetDesign == null || target == null || source == null )			return;		assert target.getDefn( ) == source.getDefn( );		if ( source instanceof CascadingParameterGroup				|| source instanceof ScalarParameter )		{			resolveDataSet( targetDesign, sourceDesign, target, source );		}		else if ( source instanceof SimpleDataSet )		{			resolveDataSource( targetDesign, sourceDesign, target, source );		}		else if ( source instanceof JointDataSet )		{			resolveDataSet( targetDesign, sourceDesign, target, source );		}		else if ( source instanceof MasterPage )		{			resolveStyle( targetDesign, target, source );		}		else if ( source instanceof ReportItem )		{			if ( source instanceof Label || source instanceof TextItem )			{				localizeExternalStringProperty( sourceDesign, target, source );			}			if ( source instanceof ImageItem )			{				resolveImageItem( targetDesign, sourceDesign, target, source );			}			resolveDataSet( targetDesign, sourceDesign, target, source );			resolveStyle( targetDesign, target, source );		}		else if ( source instanceof StyledElement )		{			resolveStyle( targetDesign, target, source );		}	}