mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 04:36:10 +08:00
.
This commit is contained in:
@ -76,7 +76,7 @@ namespace Txt2Docx
|
||||
return converter_->m_inputFile.read(path);
|
||||
}
|
||||
|
||||
void Converter::write(/*const std::wstring& path*/XmlUtils::CStringWriter & stringWriter)
|
||||
void Converter::write(/*const std::wstring& path*/NSStringUtils::CStringBuilder & stringWriter)
|
||||
{
|
||||
for (size_t i = 0; i < converter_->m_outputFile.m_arrItems.size(); ++i)
|
||||
{
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
#ifndef TXT_2_DOCX_CONVERTER_INCLUDE_H_
|
||||
#define TXT_2_DOCX_CONVERTER_INCLUDE_H_
|
||||
|
||||
#include "../../../Common/DocxFormat/Source/XML/Utils.h"
|
||||
#include "../../../DesktopEditor/common/StringBuilder.h"
|
||||
#include <string>
|
||||
|
||||
namespace TxtXml
|
||||
@ -53,7 +53,7 @@ namespace Txt2Docx
|
||||
|
||||
void convert(TxtXml::ITxtXmlEvent& Event);
|
||||
void read (const std::wstring& path);
|
||||
void write (XmlUtils::CStringWriter & stringWriter/*const std::wstring& path*/);
|
||||
void write (NSStringUtils::CStringBuilder & stringWriter/*const std::wstring& path*/);
|
||||
|
||||
private:
|
||||
Converter_Impl * converter_;
|
||||
|
||||
Reference in New Issue
Block a user