Bug 155007 Group Toc doesn't work well
Group Toc doesn't work well Steps to reproduce: run the attached file and preview it in html/web viewer/PDF Expected results: Group toc works well Actual results: Group toc doesn't work well
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
expressions.add( createConditionalExpression( highlights
							.getRule( i ) ) );
				}
			}
			MapDesign maps = item.getMap( );
			if ( maps != null )
			{
				for ( int i = 0; i < maps.getRuleCount( ); i++ )
				{
					expressions
							.add( createConditionalExpression( maps.getRule( i ) ) );
				}
			}
			VisibilityDesign visibilities = item.getVisibility( );
			if ( visibilities != null )
			{
				for ( int i = 0; i < visibilities.count( ); i++ )
				{
					expressions
							.add( visibilities.getRule( i ).getExpression( ) );
				}
			}		
			Map namedExpressions = item.getNamedExpressions( );
			if ( namedExpressions != null )
			{
				Collection exprs = namedExpressions.entrySet( );
				Iterator exprIter = exprs.iterator();
				Map.Entry entry = null;
				while( exprIter.hasNext( ) )
				{