Bug 155943 "Restore Properties" is always enabled for extended chart
Steps to reproduce: 1.New a report, includes a library, extends lib.chart 2.Choose the chart Expected result: "Restore Properties" is disabled untill set/change any local properties for the chart Actual result: "Restore Properties" is always enabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
* @see org.eclipse.birt.report.model.elements.ElementVisitor#visitStyle(org.eclipse.birt.report.model.elements.Style)
	 */
	public void visitStyle( Style obj )
	{
		writer.startElement( DesignSchemaConstants.STYLE_TAG );
		super.visitStyle( obj );
		writeStyleProps( obj );
		writer.endElement( );
	}
	/**
	 * Write the style properties for either a shared style, or the "private
	 * style" for a styled element.
	 * 
	 * @param obj
	 *            the styled element
	 */
	private void writeStyleProps( DesignElement obj )
	{
		
		property( obj, Style.BACKGROUND_ATTACHMENT_PROP );
		property( obj, Style.BACKGROUND_COLOR_PROP );
		property( obj, Style.BACKGROUND_IMAGE_PROP );
		property( obj, Style.BACKGROUND_POSITION_X_PROP );
		property( obj, Style.BACKGROUND_POSITION_Y_PROP );
		property( obj, Style.BACKGROUND_REPEAT_PROP );
		
		property( obj, Style.FONT_FAMILY_PROP );
		property( obj, Style.FONT_SIZE_PROP );
		property( obj, Style.FONT_WEIGHT_PROP );
		property( obj, Style.FONT_STYLE_PROP );