Bug 191888 Visibility issue in attached report[0300]
Description: Visibility issue in attached report Build number:2.2.0.v200706111025 Steps to reproduce: 1. Insert a label. 2. Set visibility, hide in all output except doc. 3. Preview in doc. Expected result: Label displays in word. Actual result: Label didn't display in word. Error log:N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
{
		setupStyledElement( item, handle );
		
		DimensionType height = createDimension( handle.getHeight( ), false );
		DimensionType width = createDimension( handle.getWidth( ), false );
		DimensionType x = createDimension( handle.getX( ), false );
		DimensionType y = createDimension( handle.getY( ), false );
		item.setHeight( height );
		item.setWidth( width );
		item.setX( x );
		item.setY( y );
		
		TOCHandle tocHandle = handle.getTOC( );
		if ( tocHandle != null )
		{
			String toc = tocHandle.getExpression( );
			item.setTOC( createExpression( toc ) );
		}
		
		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 );