mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 03:42:47 +08:00
31 lines
607 B
C++
31 lines
607 B
C++
#ifndef DOC_FORMAT_LIB
|
|
#define DOC_FORMAT_LIB
|
|
|
|
#include <string>
|
|
|
|
#if defined(_WIN32) || defined(_WIN64)
|
|
#include <windows.h>
|
|
#else
|
|
#include "../../DesktopEditor/common/ASCVariant.h"
|
|
#endif
|
|
|
|
struct ProgressCallback;
|
|
|
|
class COfficeDocFile
|
|
{
|
|
public:
|
|
COfficeDocFile()
|
|
{
|
|
}
|
|
|
|
virtual ~COfficeDocFile()
|
|
{
|
|
}
|
|
|
|
HRESULT LoadFromFile(std::wstring sSrcFileName, std::wstring sDstFileName, ProgressCallback *ffCallBack = NULL);
|
|
HRESULT SaveToFile(std::wstring sDstFileName, std::wstring sSrcFileName, ProgressCallback *ffCallBack = NULL);
|
|
|
|
};
|
|
|
|
#endif //DOC_FORMAT_LIB
|