|
|
|
@ -217,9 +217,9 @@ public class WorkSheetDesigner extends ReportComponent<WorkSheet, ElementCasePan
|
|
|
|
|
horizontalBar = getHorizontalScrollBar(); |
|
|
|
|
int m = columnRow.getColumn(), n = columnRow.getRow(); |
|
|
|
|
verticalBar.setMaximum(n); |
|
|
|
|
verticalBar.setValue(n < 21 ? verticalBar.getValue() : n - 20); |
|
|
|
|
verticalBar.setValue(n < 1 ? verticalBar.getValue() : n ); |
|
|
|
|
horizontalBar.setMaximum(m); |
|
|
|
|
horizontalBar.setValue(m < 13 ? horizontalBar.getValue() : m - 12); |
|
|
|
|
horizontalBar.setValue(m < 1 ? horizontalBar.getValue() : m ); |
|
|
|
|
// 选中
|
|
|
|
|
setSelection(cellSelection); |
|
|
|
|
} |
|
|
|
|