Bug 138294 If a TemplateReportItem is set to invisible, it should be invisible in HTML output
If a TemplateReportItem is set to invisible, it should be invisible in HTML output. Right now, even if it is set to invisible, it still shows up in preview in HTML format.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
if ( iter == null )
		{
			return;
		}
		MapDesign map = new MapDesign( );
		while ( iter.hasNext( ) )
		{
			MapRuleHandle ruleHandle = (MapRuleHandle) iter.next( );
			MapRuleDesign rule = createMapRule( ruleHandle, defaultStr );
			if ( rule != null )
			{
				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( );