Bug 156636 [Acceptance] Format does not take effect in pre-defined style report
Format does not take effect in pre-defined style report Steps to reproduce: 1. New a report, add a sample datasource and data set with table "CUSTOMERS" 2. Drag the dataset in the report 3. Add a pre-define style "report" Set format Number as to Currency Set format Datetime to Shorttime Set format String to Lowercase 4. Preview the report in Web viewer, HTML and PDF Expected result: Format takes effect Actual result: Format does not take effect
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
String bookmark = handle.getBookmark( );
		item.setBookmark( createExpression( bookmark ) );
		String onCreate = handle.getOnCreate( );
		item.setOnCreate( createExpression( onCreate ) );
		item.setOnRender( handle.getOnRender( ) );
		
		item.setOnPageBreak( handle.getOnPageBreak( ) );
		
		Iterator visibilityIter = handle.visibilityRulesIterator( );
		VisibilityDesign visibility = createVisibility( visibilityIter );
		item.setVisibility( visibility );
		
		setHighlight( item, null );
	}
	/**
	 * setup report element attribute
	 * 
	 * @param elem
	 *            engine's report element
	 * @param handle
	 *            DE's report element
	 */
	private void setupReportElement( ReportElementDesign element,
			DesignElementHandle handle )
	{
		element.setHandle( handle );
		element.setName( handle.getName( ) );
		element.setID( handle.getID( ) );
		DesignElementHandle extend = handle.getExtends( );