Archived
1
Fork 0
This repository has been archived on 2025-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
libxiv/include/exdparser.h

28 lines
516 B
C
Raw Normal View History

2022-03-16 00:02:07 -04:00
#pragma once
#include <string_view>
2022-03-16 00:30:52 -04:00
#include <string>
#include <vector>
2022-03-16 00:02:07 -04:00
#include "memorybuffer.h"
2022-03-16 00:02:07 -04:00
struct EXH;
struct ExcelDataPagination;
2022-03-16 00:30:52 -04:00
struct Column {
std::string data;
std::string type; // for debug
2022-04-12 15:27:42 -04:00
int64_t uint64Data = 0;
2022-03-16 00:30:52 -04:00
};
struct Row {
std::vector<Column> data;
};
struct EXD {
std::vector<Row> rows;
};
std::string getEXDFilename(EXH& exh, std::string_view name, std::string_view lang, ExcelDataPagination& page);
EXD readEXD(EXH& exh, MemorySpan data, ExcelDataPagination& page);