Files
core/EpubFile/src/CBookItem.h
Kulikova Svetlana 68723a5e81 Fix bug 62305
2023-04-27 11:28:10 +03:00

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