Files
core/ASCOfficeWSHtmlFile/HtmlConverter/source/Document/EWSDocument.h

40 lines
464 B
C++

#pragma once
typedef enum {
ef_HTML,
ef_XLSX,
ef_ODS,
ef_SXC,
ef_XML,
ef_AUTO_DETECT,
ef_END
} EWS_FORMAT;
class Document;
namespace EWSCORE
{;
class EWSDocument
{
public:
EWSDocument();
~EWSDocument();
public:
bool loadFrom(const _bstr_t& from_filename, const EWS_FORMAT format);
bool saveTo(const _bstr_t& to_file_path, const EWS_FORMAT format, _bstr_t xml_options);
private:
Document* doc_;
};
}