mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 22:24:28 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
35 lines
904 B
C++
35 lines
904 B
C++
#pragma once
|
|
#ifndef OOX_HEADER_INCLUDE_H_
|
|
#define OOX_HEADER_INCLUDE_H_
|
|
|
|
#include "File.h"
|
|
#include "IFileContainer.h"
|
|
#include "Logic/TextItem.h"
|
|
#include <vector>
|
|
#include "property.h"
|
|
|
|
|
|
namespace OOX
|
|
{
|
|
class Header : public OOX::File, public IFileContainer
|
|
{
|
|
public:
|
|
Header();
|
|
Header(const boost::filesystem::wpath& filename);
|
|
virtual ~Header();
|
|
|
|
public:
|
|
virtual void read(const boost::filesystem::wpath& filename);
|
|
virtual void write(const boost::filesystem::wpath& filename, const boost::filesystem::wpath& directory, ContentTypes::File& content) const;
|
|
|
|
public:
|
|
virtual const FileType type() const;
|
|
virtual const boost::filesystem::wpath DefaultDirectory() const;
|
|
virtual const boost::filesystem::wpath DefaultFileName() const;
|
|
|
|
public:
|
|
property<std::vector<Logic::TextItem> > Items;
|
|
};
|
|
} // namespace OOX
|
|
|
|
#endif // OOX_HEADER_INCLUDE_H_
|