Files
core/ASCOfficeOdtFile/Source/DocxFormat/Core.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

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_