Fixed bugs in reading hwp format and added test example

This commit is contained in:
Green
2024-12-18 15:13:43 +03:00
parent 328e379ec2
commit 4a110d68c1
43 changed files with 505 additions and 324 deletions

20
HwpFile/test/main.cpp Normal file
View File

@ -0,0 +1,20 @@
#include "../HWPFile.h"
#include <iostream>
int main()
{
CHWPFile oFile(L"C:/ONLYOFFICE/Files/hwp/example.hwp");
if (oFile.Open())
{
std::cout << "Successful" << std::endl;
return 0;
}
else
{
std::cout << "Unsuccessful" << std::endl;
return -1;
}
oFile.Close();
}