public static int getInitRowsFromConfig ( final SheetConfiguration sheetConfig ) { int initRows = 1 ; if ( "Repeat" . equalsIgnoreCase ( sheetConfig . getFormBodyType ( ) ) ) { initRows = sheetConfig . getBodyInitialRows ( ) ; if ( initRows < 1 ) { initRows = 1 ; } } return initRows ; }
Gets the inits the rows from config .