return; } if(!isCurrentDetailBand()) {
	protected void repeatHeader( )	{		if ( isFirst )		{			isFirst = false;			return;		}		if ( !isRepeatHeader( ) )		{			return;		}		IListBandContent band = getHeader( );		if ( band == null )		{			return;		}		IReportItemExecutor headerExecutor = new DOMReportItemExecutor( band );		headerExecutor.execute( );		ContainerArea headerArea = (ContainerArea) AreaFactory				.createLogicContainer( content.getReportContent( ) );		headerArea.setAllocatedWidth( parent.getMaxAvaWidth( ) );		PDFRegionLM regionLM = new PDFRegionLM( context, headerArea, band,				headerExecutor );		boolean allowPB = context.allowPageBreak( );		context.setAllowPageBreak( false );		regionLM.layout( );		context.setAllowPageBreak( allowPB );		if ( headerArea.getAllocatedHeight( ) + currentBP < parent				.getMaxAvaHeight( ) )		{			addArea( headerArea );			repeatCount++;		}	}