protected void layoutGroupSubreports ( DJGroup columnsGroup , JRDesignGroup jgroup ) { log . debug ( "Starting subreport layout..." ) ; JRDesignBand footerBand = ( JRDesignBand ) ( ( JRDesignSection ) jgroup . getGroupFooterSection ( ) ) . getBandsList ( ) . get ( 0 ) ; JRDesignBand headerBand = ( JRDesignBand ) ( ( JRDesignSection ) jgroup . getGroupHeaderSection ( ) ) . getBandsList ( ) . get ( 0 ) ; layOutSubReportInBand ( columnsGroup , headerBand , DJConstants . HEADER ) ; layOutSubReportInBand ( columnsGroup , footerBand , DJConstants . FOOTER ) ; }
If there is a SubReport on a Group we do the layout here