Bug 210496 Add hasStyle property in reportItemModel extension point
When chart gets reportItem's properties by extending ReportItem, style properties are null. Hence, model needs to add hasStyle property in reportItemModel extension point
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PeerExtensionLoader.java
}
			}
		}
		/**
		 * convert the IStyleDeclaration to Style instance, and add it into
		 * MetaDataDictionary.
		 * 
		 * @param defaultStyle
		 *            the IStyleDeclaration need to be converted and added.
		 */
		private void addDefaultStyleToMeta( IStyleDeclaration defaultStyle )
		{
			MetaDataDictionary dd = MetaDataDictionary.getInstance( );
			IElementDefn styleDefn = (IElementDefn) dd
					.getElement( MetaDataConstants.STYLE_NAME );
			boolean hasLocalValues = false;
			Style style = new Style( );
			style.setName( defaultStyle.getName( ) );
			List stylePropDefn = styleDefn.getLocalProperties( );
			String propName = null;
			for ( int i = 0; i < stylePropDefn.size( ); i++ )
			{
				PropertyDefn propDefn = (PropertyDefn) stylePropDefn.get( i );
				propName = propDefn.getName( );
				Object value = defaultStyle.getProperty( propName );
				if ( value == null )
					continue;
				try
				{
					propDefn.validateValue( null, value );