| 4418 | } |
| 4419 | |
| 4420 | void SpreadsheetView::exportToXLSX(const QString& fileName, const bool exportHeader) const { |
| 4421 | PERFTRACE(QStringLiteral("export spreadsheet to XLSL")); |
| 4422 | auto* filter = new XLSXFilter; |
| 4423 | |
| 4424 | filter->setColumnNamesAsFirstRow(exportHeader); |
| 4425 | filter->write(fileName, m_spreadsheet); |
| 4426 | |
| 4427 | delete filter; |
| 4428 | } |
| 4429 | |
| 4430 | void SpreadsheetView::exportToSQLite(const QString& path) const { |
| 4431 | QFile file(path); |
nothing calls this directly
no test coverage detected