Files
2024-08-14 11:15:16 +08:00

23 lines
591 B
C++

#include <iostream>
#include <OpenXLSX.hpp>
#include <string>
#include <vector>
#include <filesystem>
#include <pugixml.hpp>
using namespace OpenXLSX;
struct customExcelStruct
{
customExcelStruct(std::string textIn)
{
text = textIn;
}
std::string text;
std::vector<customExcelStruct> nexCols;
};
std::vector < std::pair<std::string, std::string>> writeExcelLoop(XLWorksheet& sheet, customExcelStruct& input, int depth, int cols);
void writeExcel(std::string path, std::string sheetName, std::vector<std::string> titles, customExcelStruct input);
#pragma once