! Get the complete set of selected rows. */
| 1346 | Get the complete set of selected rows. |
| 1347 | */ |
| 1348 | IntervalAttribute<bool> SpreadsheetView::selectedRows(bool full) const { |
| 1349 | IntervalAttribute<bool> result; |
| 1350 | const int rows = m_spreadsheet->rowCount(); |
| 1351 | for (int i = 0; i < rows; i++) |
| 1352 | if (isRowSelected(i, full)) |
| 1353 | result.setValue(i, true); |
| 1354 | return result; |
| 1355 | } |
| 1356 | |
| 1357 | /*! |
| 1358 | Select/Deselect a cell. |
no test coverage detected