Support to add any number of sheets to excel

This commit is contained in:
2023-09-20 00:58:01 +02:00
parent 925f71166c
commit 20a6ebab7c
4 changed files with 38 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
#ifndef RESULTS_H
#define RESULTS_H
#include "xlsxwriter.h"
#include <map>
#include <vector>
#include <string>
@@ -44,10 +45,12 @@ namespace platform {
bool complete;
bool partial;
bool indexList = true;
bool openExcel = false;
lxw_workbook* workbook = NULL;
vector<Result> files;
void load(); // Loads the list of results
void show() const;
void report(const int index, const bool excelReport) const;
void report(const int index, const bool excelReport);
void showIndex(const int index, const int idx) const;
int getIndex(const string& intent) const;
void menu();