git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@61916 954022d7-b5bf-4e40-9824-e11837661b57

This commit is contained in:
Elen.Subbotina
2015-04-07 13:38:31 +00:00
committed by Alexander Trofimov
parent 2c14c02d7e
commit 809065e725
470 changed files with 85885 additions and 0 deletions

View File

@ -0,0 +1,49 @@
#ifndef DOC_FORMAT_LIB
#define DOC_FORMAT_LIB
#if defined(_WIN32) || defined(_WIN64)
#include <atlbase.h>
#include <atlstr.h>
#else
#include "../../DesktopEditor/common/ASCVariant.h"
#include "../../Common/DocxFormat/Source/Base/ASCString.h"
#endif
struct ProgressCallback;
class COfficeDocFile
{
public:
COfficeDocFile()
{
m_strTempDirectory = L"";
}
virtual ~COfficeDocFile()
{
}
private:
CString m_strTempDirectory;
public:
HRESULT put_TempDirectory(CString sDir)
{
m_strTempDirectory = sDir;
return S_OK;
}
CString get_TempDirectory()
{
return m_strTempDirectory;
}
HRESULT LoadFromFile(CString sSrcFileName, CString sDstFileName, CString sXMLOptions, ProgressCallback *ffCallBack = NULL);
HRESULT SaveToFile(CString sDstFileName, CString sSrcFileName, CString sXMLOptions, ProgressCallback *ffCallBack =NULL);
};
#endif //DOC_FORMAT_LIB