String tocExpr = handle.getTocExpression(); if(null!=tocExpr && !"".equals(tocExpr)) { if(header.getContentCount()>0) { ReportItemDesign item = (ReportItemDesign)header.getContent(0); item.setTOC(new Expression(tocExpr)); } }
	public void visitListGroup( ListGroupHandle handle )	{		ListGroupDesign listGroup = new ListGroupDesign( );		setupGroup( listGroup, handle );		ListBandDesign header = createListBand( handle.getHeader( ) );		listGroup.setHeader( header );		ListBandDesign footer = createListBand( handle.getFooter( ) );		listGroup.setFooter( footer );		currentElement = listGroup;	}