|
|
@ -283,7 +283,7 @@ public class PageToolBarPane extends AbstractEditToolBarPane { |
|
|
|
|
|
|
|
|
|
|
|
private boolean isRowCountValid(String rowCount) { |
|
|
|
private boolean isRowCountValid(String rowCount) { |
|
|
|
Matcher matcher = ROW_COUNT.matcher(rowCount); |
|
|
|
Matcher matcher = ROW_COUNT.matcher(rowCount); |
|
|
|
if(matcher.find()){ |
|
|
|
if (matcher.find()) { |
|
|
|
int count = Integer.parseInt(matcher.group()); |
|
|
|
int count = Integer.parseInt(matcher.group()); |
|
|
|
return count >= MIN_ROW_COUNT && count <= MAX_ROW_COUNT; |
|
|
|
return count >= MIN_ROW_COUNT && count <= MAX_ROW_COUNT; |
|
|
|
} |
|
|
|
} |
|
|
|