ListBandDesign header = createListBand( handle.getHeader( ) ); header.setBandType( ListBandDesign.GROUP_HEADER ); header.setGroup( listGroup ); listGroup.setHeader( header ); listGroup.setHeaderRepeat( handle.repeatHeader( ) );
SlotHandle headerSlot = handle.getHeader( ); if ( headerSlot.getCount( ) > 0 ) { ListBandDesign header = createListBand( headerSlot ); header.setBandType( ListBandDesign.GROUP_HEADER ); header.setGroup( listGroup ); listGroup.setHeader( header ); listGroup.setHeaderRepeat( handle.repeatHeader( ) );
	public void visitListGroup( ListGroupHandle handle )	{		ListGroupDesign listGroup = new ListGroupDesign( );		setupGroup( listGroup, handle );		ListBandDesign header = createListBand( handle.getHeader( ) );		header.setBandType( ListBandDesign.GROUP_HEADER );		header.setGroup( listGroup );		listGroup.setHeader( header );		listGroup.setHeaderRepeat( handle.repeatHeader( ) );		// flatten TOC on group to the first report item in group header		String tocExpr = handle.getTocExpression( );		if ( null != tocExpr && !"".equals( tocExpr.trim( ) ) ) //$NON-NLS-1$		{			if ( header.getContentCount( ) > 0 )			{				ReportItemDesign item = (ReportItemDesign) header						.getContent( 0 );				item.setTOC( createExpression( tocExpr ) );			}		}		ListBandDesign footer = createListBand( handle.getFooter( ) );		footer.setBandType( ListBandDesign.GROUP_FOOTER );		footer.setGroup( listGroup );		listGroup.setFooter( footer );		boolean hideDetail = handle.hideDetail( );		listGroup.setHideDetail( hideDetail );		currentElement = listGroup;	}