mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
23 lines
368 B
C++
23 lines
368 B
C++
#include <xlnt/reader/workbook_reader.hpp>
|
|
#include <xlnt/workbook/workbook.hpp>
|
|
|
|
namespace xlnt {
|
|
|
|
xlnt::workbook load_workbook(const std::vector<std::uint8_t> &bytes)
|
|
{
|
|
xlnt::workbook wb;
|
|
wb.load(bytes);
|
|
|
|
return wb;
|
|
}
|
|
|
|
xlnt::workbook load_workbook(const std::string &filename)
|
|
{
|
|
xlnt::workbook wb;
|
|
wb.load(filename);
|
|
|
|
return wb;
|
|
}
|
|
|
|
}
|