Bug 130492 Provide a method to serialize the report with library information.
Currently, when engine generate the report document file, the document does not contain any library information. That will cause many propblem on server side. Model should provide a method to serialize the report with library information to a stream so that the generated report document can contain all information that the report need.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
*/
	public List resolveElementReferenceList( Module module,
			ElementPropertyDefn prop )
	{
		Object value = propValues.get( prop.getName( ) );
		assert value == null || value instanceof List;
		assert prop.getTypeCode( ) == PropertyType.LIST_TYPE
				&& prop.getSubTypeCode( ) == PropertyType.ELEMENT_REF_TYPE;
		if ( value == null )
			return null;
		List valueList = (List) value;
		for ( int i = 0; i < valueList.size( ); i++ )
		{
			
			ElementRefValue item = (ElementRefValue) valueList.get( i );
			resolveElementReference( module, prop, item );
		}
		return valueList;
	}
	/**
	 * Resolves a property element reference. The reference is the value of a
	 * property of type property element reference.
	 * 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 * @param prop
	 *            the property whose type is element reference
	 * @param value
	 *            the element reference value to resolve