public static boolean foundFunctionInAnyGroupHeader ( ReportLayout layout ) { List < Band > groupHeaderBands = layout . getGroupHeaderBands ( ) ; for ( Band band : groupHeaderBands ) { boolean found = foundFunctionInBand ( band ) ; if ( found ) { return true ; } } return false ; }
Test to see if a function is found in any group header band