Files
core/ASCOfficeOdtFile/Source/DocxFormat/File.h
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

31 lines
797 B
C++

#pragma once
#ifndef OOX_FILE_INCLUDE_H_
#define OOX_FILE_INCLUDE_H_
#include "NamespaceOwn.h"
#include <string>
#include <boost/filesystem.hpp>
#include "ContentTypes/File.h"
#include "FileType.h"
namespace OOX
{
class File : public NamespaceOwn
{
public:
File();
virtual ~File();
public:
virtual void read(const boost::filesystem::wpath& filename) = 0;
virtual void write(const boost::filesystem::wpath& filename, const boost::filesystem::wpath& directory, ContentTypes::File& content) const = 0;
public:
virtual const OOX::FileType type() const = 0;
virtual const boost::filesystem::wpath DefaultDirectory() const = 0;
virtual const boost::filesystem::wpath DefaultFileName() const = 0;
};
} // namespace OOX
#endif // OOX_FILE_INCLUDE_H_