public int getHeight(final int startRow, final int stopRow) { int h = 0; for (int i = startRow; i <= stopRow; i++) { final TableTableRow tableTableRow = this.rows.get(i); h += tableTableRow.getHeight(); } return h; }
public int getPrintHeight() { int h = 0; final List<TableTableRow> rowsInRange = this.getRowsInRange(this.getPrintStartRow(), this.getPrintStopRow()); for (final TableTableRow row : rowsInRange) { h += row.getHeight(); } return h; }
public void addRow(final TableTableRow r) { for (int i = 0; i < r.getTableNumberRowsRepeated(); i++) { this.rows.add(r); } r.setTable(this); }