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
*         defined, or cannot convert to a double.
	 */
	public double getFloatProperty( Module module, String propName )
	{
		ElementPropertyDefn prop = getPropertyDefn( propName );
		if ( prop == null )
			return 0;
		PropertyType type = MetaDataDictionary.getInstance( ).getPropertyType(
				prop.getTypeCode( ) );
		Object value = getProperty( module, propName );
		if ( value instanceof Double )
			return ( (Double) value ).doubleValue( );
		return type.toDouble( module, value );
	}
	/**
	 * Gets the value of a property as a boolean.
	 * 
	 * @param module
	 *            the module
	 * @param propName
	 *            the name of the property to get
	 * @return the property value as a boolean. Returns false if the property is
	 *         not set, or not defined, or cannot convert to a boolean.
	 */
	public boolean getBooleanProperty( Module module, String propName )
	{
		ElementPropertyDefn prop = getPropertyDefn( propName );
		if ( prop == null )
			return false;
		PropertyType type = MetaDataDictionary.getInstance( ).getPropertyType(