kima2/src/core/excelreader.cpp

18 lines
416 B
C++
Raw Normal View History

2018-08-01 15:36:41 +02:00
#include "excelreader.h"
#include <xlnt/xlnt.hpp>
void ExcelReader::readSellersFromFile(const std::string& filename, Marketplace* market)
{
xlnt::workbook wb;
wb.load(filename);
auto ws = wb.sheet_by_index(0);
const int START_ROW = 6;
const int END_ROW = 349;
for (const auto& row : ws.rows(false)) {
//auto test = row[0].value<int>();
//std::cout << test << "\n";
}
}