mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 16:15:00 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
#pragma once
|
|
#ifndef OOX_CORE_INCLUDE_H_
|
|
#define OOX_CORE_INCLUDE_H_
|
|
|
|
#include "File.h"
|
|
#include "DateTime.h"
|
|
#include "nullable.h"
|
|
#include "property.h"
|
|
|
|
|
|
namespace OOX
|
|
{
|
|
class Core : public OOX::File
|
|
{
|
|
public:
|
|
Core();
|
|
Core(const boost::filesystem::wpath& filename);
|
|
virtual ~Core();
|
|
|
|
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;
|
|
|
|
private:
|
|
nullable<std::string> m_title;
|
|
nullable<std::string> m_subject;
|
|
nullable<std::string> m_creator;
|
|
nullable<std::string> m_keywords;
|
|
nullable<std::string> m_description;
|
|
nullable<std::string> m_lastModifiedBy;
|
|
nullable<int> m_revision;
|
|
nullable<OOX::DateTime> m_created;
|
|
nullable<OOX::DateTime> m_modified;
|
|
};
|
|
} // namespace OOX
|
|
|
|
#endif // OOX_CORE_INCLUDE_H_
|