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
12
namespace
core::ports::xlsx_writer
{
13
17
class
IXlsxWriter
{
18
public
:
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
core::ports::xlsx_writer::IXlsxWriter
Writes tabular export data to XLSX workbooks.
Definition
IXlsxWriter.h:17
core::ports::xlsx_writer::IXlsxWriter::writeTable
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.
core::ports::xlsx_writer::IXlsxWriter::~IXlsxWriter
virtual ~IXlsxWriter()=default
Destroys the XLSX writer port.
core::ports::xlsx_writer
Definition
ExportService.h:20
core
include
core
ports
infra
xlsx-writer
IXlsxWriter.h
Generated by
1.14.0