Fb2 update For bug 49447

This commit is contained in:
Kulikova Svetlana
2023-07-05 15:07:36 +03:00
parent 1915846291
commit ef81980755
2 changed files with 512 additions and 498 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@ void getDirectories(const std::wstring& sDirectory, std::vector<std::wstring>& a
int main()
{
bool bBatchMode = false;
bool bFromHtml = true;
bool bFromHtml = false;
if (bBatchMode)
{
// Директория файлов
@ -91,7 +91,7 @@ int main()
CFb2File oFile;
// Файл, который открываем
std::wstring sFile = NSFile::GetProcessDirectory() + L"/../../../examples/res.fb2";
std::wstring sFile = NSFile::GetProcessDirectory() + L"/res.fb2";
// Директория, где будем создавать docx
std::wstring sOutputDirectory = NSFile::GetProcessDirectory() + L"/res";
@ -100,7 +100,7 @@ int main()
if (bFromHtml)
{
sFile = NSFile::GetProcessDirectory() + L"/../../../examples/test.html";
sFile = NSFile::GetProcessDirectory() + L"/test.html";
oFile.FromHtml(sFile, sOutputDirectory + L"/res.fb2", L"Test Title");
return 0;
}