FOSSredder 0.5.0
Loading...
Searching...
No Matches
infra::xlsx_writer::XlntTableWriterAdapter Class Referencefinal

#include <XlntTableWriterAdapter.h>

Inheritance diagram for infra::xlsx_writer::XlntTableWriterAdapter:
Collaboration diagram for infra::xlsx_writer::XlntTableWriterAdapter:

Public Member Functions

 XlntTableWriterAdapter (std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter)
bool writeTable (const std::filesystem::path &outputPath, const std::vector< std::vector< std::string > > &rows, const std::string &worksheetTitle) const override
 Writes rows into a worksheet.
Public Member Functions inherited from core::ports::xlsx_writer::IXlsxWriter
virtual ~IXlsxWriter ()=default
 Destroys the XLSX writer port.

Detailed Description

Definition at line 18 of file XlntTableWriterAdapter.h.

Constructor & Destructor Documentation

◆ XlntTableWriterAdapter()

infra::xlsx_writer::XlntTableWriterAdapter::XlntTableWriterAdapter ( std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter)
explicit

Definition at line 17 of file XlntTableWriterAdapter.cpp.

Member Function Documentation

◆ writeTable()

bool infra::xlsx_writer::XlntTableWriterAdapter::writeTable ( const std::filesystem::path & outputPath,
const std::vector< std::vector< std::string > > & rows,
const std::string & worksheetTitle ) const
overridevirtual

Writes rows into a worksheet.

Parameters
outputPathTarget workbook path.
rowsTable rows to write.
worksheetTitleWorksheet title.
Returns
True when the workbook was written successfully.

Implements core::ports::xlsx_writer::IXlsxWriter.

Definition at line 22 of file XlntTableWriterAdapter.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: