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
{
			apply( slot.get( i ) );
			if ( currentElement != null )
			{
				container.addItem( (ReportItemDesign) currentElement );
			}
		}
		
		currentElement = container;
	}
	public void visitTextDataItem( TextDataHandle handle )
	{
		DynamicTextItemDesign dynamicTextItem = new DynamicTextItemDesign( );
		setupReportItem( dynamicTextItem, handle );
		String valueExpr = handle.getValueExpr( );
		String contentType = handle.getContentType( );
		dynamicTextItem.setContent( createExpression( valueExpr ) );
		dynamicTextItem.setContentType( contentType );
		setupHighlight( dynamicTextItem, valueExpr );
		setMap( dynamicTextItem, valueExpr );
		
		currentElement = dynamicTextItem;
	}
	public void visitLabel( LabelHandle handle )
	{
		
		LabelItemDesign labelItem = new LabelItemDesign( );
		setupReportItem( labelItem, handle );
		
		String text = handle.getText( );