Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StructureFactory.java
if ( baseModule instanceof ReportDesign )
			return null;
		
		Library lib = targetModule.getModule( ).getLibraryByLocation(
				baseModule.getLocation( ) );
		if ( lib == null )
		{
			throw new LibraryException( baseModule,
					new String[]{( (Library) baseModule ).getNamespace( )},
					LibraryException.DESIGN_EXCEPTION_LIBRARY_NOT_FOUND );
		}
		String namespace = lib.getNamespace( );
		StructRefValue libReference = new StructRefValue( namespace, baseImage
				.getName( ) );
		image.setProperty( ReferencableStructure.LIB_REFERENCE_MEMBER,
				libReference );
		image.setName( name );
		return image;
	}
	/**
	 * Creates an embedded image from another library embedded image. This
	 * method creates the embedded image name automatically.
	 * 
	 * @param baseImage
	 *            the base image
	 * @param targetModule
	 *            the target module that is inserted to
	 * 
	 * @return the created embedded image
	 * @throws LibraryException