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
}
			e = e.getExtendsElement( );
		}
		return props;
	}
	/**
	 * Returns a list of user properties that are defined only on this element.
	 * 
	 * @return The list of user properties.
	 */
	public List getLocalUserProperties( )
	{
		if ( userProperties == null )
			return Collections.EMPTY_LIST;
		return new ArrayList( userProperties.values( ) );
	}
	/**
	 * Checks if this element derives from the given element. The check is true
	 * if this element derives from the target, or if the target is an ancestor
	 * of this element.
	 * 
	 * @param element
	 *            The potential ancestor.
	 * @return True if the given element is an ancestor of this element, false
	 *         otherwise.
	 */
	public boolean isKindOf( DesignElement element )
	{
		DesignElement e = this;
		while ( e != null )