! * Returns the sheet object at index \a sheetIndex. */
| 390 | * Returns the sheet object at index \a sheetIndex. |
| 391 | */ |
| 392 | AbstractSheet *Workbook::sheet(int index) const |
| 393 | { |
| 394 | Q_D(const Workbook); |
| 395 | if (index < 0 || index >= d->sheets.size()) |
| 396 | return nullptr; |
| 397 | return d->sheets.at(index).data(); |
| 398 | } |
| 399 | |
| 400 | SharedStrings *Workbook::sharedStrings() const |
| 401 | { |