xlnt/samples/decrypt.cpp
2016-10-25 20:22:22 -04:00

13 lines
196 B
C++

#include <xlnt/xlnt.hpp>
int main()
{
xlnt::workbook wb;
const auto password = std::string("secret");
wb.load("data/encrypted.xlsx", password);
wb.save("data/decrypted.xlsx");
return 0;
}