mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 08:22:08 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62392 954022d7-b5bf-4e40-9824-e11837661b57
34 lines
680 B
C++
34 lines
680 B
C++
#pragma once
|
|
#ifndef TXT_2_DOCX_CONVERTER_INCLUDE_H_
|
|
#define TXT_2_DOCX_CONVERTER_INCLUDE_H_
|
|
|
|
#include "../../../Common/DocxFormat/Source/XML/Utils.h"
|
|
#include <string>
|
|
|
|
namespace TxtXml
|
|
{
|
|
class ITxtXmlEvent;
|
|
}
|
|
|
|
namespace Txt2Docx
|
|
{
|
|
class Converter_Impl;
|
|
|
|
class Converter
|
|
{
|
|
public:
|
|
Converter (int encoding);
|
|
~Converter ();
|
|
|
|
void convert(TxtXml::ITxtXmlEvent& Event);
|
|
void read (const std::wstring& path);
|
|
void write (XmlUtils::CStringWriter & stringWriter/*const std::wstring& path*/);
|
|
|
|
private:
|
|
Converter_Impl * converter_;
|
|
};
|
|
|
|
} // namespace Txt2Docx
|
|
|
|
#endif // TXT_2_DOCX_CONVERTER_INCLUDE_H_
|