Complete sheet with totals

This commit is contained in:
2024-03-06 01:26:51 +01:00
parent 4f5f629124
commit 4eb08cd281
4 changed files with 142 additions and 11 deletions

View File

@@ -1,14 +1,16 @@
#pragma once
#include "ReportExcel.h"
namespace platform {
class ReportExcelCompared {
class ReportExcelCompared : public ExcelFile {
public:
explicit ReportExcelCompared(json& data_A, json& data_B);
~ReportExcelCompared();
void report();
private:
void header();
void body();
void footer(std::vector<double>& totals_A, std::vector<double>& totals_B, int row);
json& data_A;
json& data_B;
lxw_workbook* workbook;
};
};