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
else
			propValues.put( propName, value );
	}
	/**
	 * Returns the mask of the given property. If the mask of one property has
	 * not been found, looks for its parent or any ancestor.
	 * <p>
	 * Note that this method is only for internal usage. DO NOT call this method
	 * outside the org.eclipse.birt.report.model package.
	 * 
	 * @param module
	 *            the module
	 * @param propName
	 *            the name of the property
	 * 
	 * @return the mask of the given property
	 */
	public String getPropertyMask( Module module, String propName )
	{
		DesignElement e = this;
		do
		{
			ArrayList masks = (ArrayList) e.getLocalProperty( module,
					DesignElement.PROPERTY_MASKS_PROP );
			if ( masks != null )
			{
				for ( int i = 0; i < masks.size( ); i++ )
				{
					PropertyMask mask = (PropertyMask) masks.get( i );
					if ( propName.equals( mask.getName( ) ) )