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
scalarParameter.setHelpTextKey( handle.getHelpTextKey( ) );
		scalarParameter.setPromptText( handle.getPromptText( ) );
		scalarParameter.setIsHidden( handle.isHidden( ) );
		scalarParameter.setName( handle.getName( ) );
		String valueType = handle.getDataType( );
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_BOOLEAN );
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DATE_TIME );
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DECIMAL );
		else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_FLOAT );
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_STRING );
		else
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_ANY );
		ArrayList values = new ArrayList( );
		Iterator selectionIter = handle.choiceIterator( );
		while ( selectionIter.hasNext( ) )
		{
			SelectionChoiceHandle selection = (SelectionChoiceHandle) selectionIter
					.next( );
			ParameterSelectionChoice selectionChoice = new ParameterSelectionChoice(
					this.handle );
			selectionChoice.setLabel( selection.getLabelKey( ), selection
					.getLabel( ) );
			selectionChoice.setValue( selection.getValue( ), scalarParameter
					.getDataType( ) );
			values.add( selectionChoice );