mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
24 lines
575 B
C++
24 lines
575 B
C++
#ifndef CEPUBFILE_H
|
|
#define CEPUBFILE_H
|
|
|
|
#include "src/EpubFile_global.h"
|
|
#include "../OfficeUtils/src/OfficeUtils.h"
|
|
#include "../DesktopEditor/xml/include/xmlutils.h"
|
|
|
|
class EPUBFILE_EXPORT CEpubFile
|
|
{
|
|
std::wstring _fileName;
|
|
std::wstring _tempDir;
|
|
|
|
std::map <std::wstring, std::wstring> dataAboutFile;
|
|
public:
|
|
CEpubFile();
|
|
~CEpubFile();
|
|
|
|
bool IsEbubFile(const std::wstring& fileName);
|
|
void SetTempDirectory(const std::wstring& tempDir);
|
|
bool Convert(const std::wstring& inputFile, const std::wstring& outputFile);
|
|
};
|
|
|
|
#endif // CEPUBFILE_H
|