mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
45 lines
939 B
C++
45 lines
939 B
C++
#ifndef HWPDOCINFO_H
|
|
#define HWPDOCINFO_H
|
|
|
|
#include "HanType.h"
|
|
#include "HWPStream.h"
|
|
#include "HWPElements/HWPRecord.h"
|
|
|
|
#include <map>
|
|
#include <list>
|
|
|
|
namespace HWP
|
|
{
|
|
class CHWPFile_Private;
|
|
class CHWPDocInfo
|
|
{
|
|
EHanType m_eHanType;
|
|
// CHWPXFile *m_pParentHWPX;
|
|
CHWPFile_Private *m_pParentHWP;
|
|
std::list<CHWPRecord*> m_lRecords;
|
|
|
|
std::map<STRING, CHWPRecord*> m_mBinDatas;
|
|
std::list<CHWPRecord*> m_lFaseNames;
|
|
std::list<CHWPRecord*> m_lBorderFills;
|
|
std::list<CHWPRecord*> m_lCharShapes;
|
|
std::list<CHWPRecord*> m_lNumberings;
|
|
std::list<CHWPRecord*> m_lBullets;
|
|
std::list<CHWPRecord*> m_lParaShapes;
|
|
std::list<CHWPRecord*> m_lStyles;
|
|
std::list<CHWPRecord*> m_lTabDefs;
|
|
|
|
// CCompatDoc m_oCompatibleDoc;
|
|
|
|
public:
|
|
CHWPDocInfo(EHanType eHanType);
|
|
// CHWPDocInfo(CHWPXFile* pHWPXFile);
|
|
CHWPDocInfo(CHWPFile_Private* pHWPFile);
|
|
|
|
~CHWPDocInfo();
|
|
|
|
bool Parse(CHWPStream& oBuffer, int nVersion);
|
|
};
|
|
}
|
|
|
|
#endif // HWPDOCINFO_H
|