Bug 158102 [Regression]Html visibility effects seems to take no effects to all items
Html visibility effects seems to take no effects to all items Steps to reproduce: 1.new a report 2.add report items and set html visibility to them Expected result: Html visibility should take effects Actual result: No effects were displayed to all items
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
protected VisibilityRuleDesign createHide( HideRuleHandle handle )
	{
		VisibilityRuleDesign rule = new VisibilityRuleDesign( );
		rule.setExpression( createExpression( handle.getExpression( ) ) );
		rule.setFormat( handle.getFormat( ) );
		return rule;
	}
	/**
	 * setup the attribute of report item
	 * 
	 * @param item
	 *            Engine's Report Item
	 * @param handle
	 *            DE's report item.
	 */
	private void setupReportItem( ReportItemDesign item, ReportItemHandle handle )
	{
		setupStyledElement( item, handle );
		
		DimensionType height = createDimension( handle.getHeight( ) );
		DimensionType width = createDimension( handle.getWidth( ) );
		DimensionType x = createDimension( handle.getX( ) );
		DimensionType y = createDimension( handle.getY( ) );
		item.setHeight( height );
		item.setWidth( width );
		item.setX( x );
		item.setY( y );
		
		String toc = handle.getTocExpression( );
		item.setTOC( createExpression( toc ) );