FOSSredder 0.5.0
Loading...
Searching...
No Matches
IXlsxWriter.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <filesystem>
9#include <string>
10#include <vector>
11
13
18public:
22 virtual ~IXlsxWriter() = default;
23
31 virtual bool writeTable(const std::filesystem::path& outputPath,
32 const std::vector<std::vector<std::string>>& rows,
33 const std::string& worksheetTitle) const = 0;
34};
35
36} // namespace core::ports::xlsx_writer
Writes tabular export data to XLSX workbooks.
Definition IXlsxWriter.h:17
virtual bool writeTable(const std::filesystem::path &outputPath, const std::vector< std::vector< std::string > > &rows, const std::string &worksheetTitle) const =0
Writes rows into a worksheet.
virtual ~IXlsxWriter()=default
Destroys the XLSX writer port.