Files
core/ASCOfficeTxtFile/TxtXmlFormatLib/Source/TxtXmlFile.h
Elen.Subbotina e5d9ef30fc TxtFile2 win x64 build
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62392 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:00:49 +03:00

36 lines
942 B
C++

#pragma once
#include "TxtXmlEvent.h"
#include <string>
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#include <atlstr.h>
#else
#include "../../../DesktopEditor/common/ASCVariant.h"
#endif
namespace Writers
{
class FileWriter;
}
class CTxtXmlFile : public TxtXml::ITxtXmlEvent
{
public:
virtual bool Progress(long ID, long Percent);
HRESULT txt_LoadFromFile(const std::wstring & sSrcFileName, const std::wstring & sDstPath, const std::wstring & sXMLOptions);
HRESULT txt_SaveToFile (const std::wstring & sDstFileName, const std::wstring & sSrcPath, const std::wstring & sXMLOptions);
//HRESULT xml_LoadFromFile(CString sSrcFileName, CString sDstPath, CString sXMLOptions);
//HRESULT xml_SaveToFile (CString sDstFileName, CString sSrcPath, CString sXMLOptions);
CTxtXmlFile();
private:
void CreateDocxEmpty(CString path, Writers::FileWriter * DocxWriter) ;
};