Files
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

37 lines
974 B
C++

#ifndef CTRLSHAPEOLE_H
#define CTRLSHAPEOLE_H
#include "CtrlGeneralShape.h"
namespace HWP
{
class CCtrlShapeOle : public CCtrlGeneralShape
{
int m_nAttr;
int m_nExtentX;
int m_nExtentY;
HWP_STRING m_sBinDataID;
int m_nBorderColor;
int m_nBorderThick;
int m_nBorderAttr;
void ReadFromHWPX(CXMLReader& oReader);
void ReadFromHWPML(CXMLReader& oReader);
public:
CCtrlShapeOle();
CCtrlShapeOle(const HWP_STRING& sCtrlID);
CCtrlShapeOle(const CCtrlGeneralShape& oShape);
CCtrlShapeOle(const HWP_STRING& sCtrlID, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
CCtrlShapeOle(const HWP_STRING& sCtrlID, CXMLReader& oReader, EHanType eType);
EShapeType GetShapeType() const override;
HWP_STRING GetBinDataID() const;
static int ParseElement(CCtrlShapeOle& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
static int ParseCtrl(CCtrlShapeOle& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
};
}
#endif // CTRLSHAPEOLE_H