mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 14:22:36 +08:00
36 lines
644 B
C++
36 lines
644 B
C++
#ifndef CBOOKITEM_H
|
|
#define CBOOKITEM_H
|
|
|
|
#include <string>
|
|
|
|
#include "../../DesktopEditor/xml/include/xmlutils.h"
|
|
#include "../../DesktopEditor/common/Directory.h"
|
|
|
|
class CBookItem
|
|
{
|
|
enum ItemType
|
|
{
|
|
Default,
|
|
Xhtml,
|
|
Image,
|
|
Toc,
|
|
Font,
|
|
Css
|
|
};
|
|
std::wstring m_sID;
|
|
std::wstring m_sRef;
|
|
std::wstring m_sProperties;
|
|
ItemType m_eType;
|
|
|
|
public:
|
|
CBookItem();
|
|
~CBookItem();
|
|
// void Clear();
|
|
|
|
bool ReadItem(XmlUtils::CXmlLiteReader& oXmlLiteReader, int depth);
|
|
const std::wstring GetID() const;
|
|
const std::wstring GetRef() const;
|
|
};
|
|
|
|
#endif // CBOOKITEM_H
|