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
map.addRule( rule );
			}
		}
		if ( map.getRuleCount( ) > 0 )
		{
			item.setMap( map );
		}
	}
	/**
	 * create a map rule.
	 * 
	 * @param obj
	 *            map rule in DE.
	 * @return map rule in ENGINE.
	 */
	protected MapRuleDesign createMapRule( MapRuleHandle handle,
			String defaultStr )
	{
		MapRuleDesign rule = new MapRuleDesign( );
		rule.setExpression( handle.getOperator( ), handle.getValue1( ), handle
				.getValue2( ) );
		String displayText = handle.getDisplay( );
		rule.setDisplayText( handle.getDisplayKey( ), displayText == null
				? "" 
				: displayText );
		String testExpr = handle.getTestExpression( );
		if ( testExpr != null && testExpr.length( ) > 0 )
		{
			rule.setTestExpression( testExpr );
		}