mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
DocBuilder
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68603 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
b8fffbf507
commit
500f95cfb5
30
DesktopEditor/doctrenderer/docbuilder.h
Normal file
30
DesktopEditor/doctrenderer/docbuilder.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifndef DOCBUILDER_H
|
||||
#define DOCBUILDER_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "../common/base_export.h"
|
||||
|
||||
namespace NSDoctRenderer
|
||||
{
|
||||
class CDocBuilder_Private;
|
||||
class Q_DECL_EXPORT CDocBuilder
|
||||
{
|
||||
public:
|
||||
CDocBuilder();
|
||||
~CDocBuilder();
|
||||
|
||||
public:
|
||||
bool OpenFile(const std::wstring& path, const std::wstring& params);
|
||||
bool CreateFile(const int& type);
|
||||
void SetTmpFolder(const std::wstring& folder);
|
||||
bool SaveFile(const int& type, const std::wstring& path);
|
||||
void CloseFile();
|
||||
bool ExecuteCommand(const std::wstring& command);
|
||||
|
||||
private:
|
||||
CDocBuilder_Private* m_pInternal;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // DOCBUILDER_H
|
||||
Reference in New Issue
Block a user