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

35 lines
966 B
C++

#ifndef CTRLEQEDIT_H
#define CTRLEQEDIT_H
#include "CtrlGeneralShape.h"
namespace HWP
{
class CCtrlEqEdit : public CCtrlGeneralShape
{
int m_nAttr;
HWP_STRING m_sEqn;
int m_nCharSize;
int m_nColor;
int m_nBaseline;
HWP_STRING m_sVersion;
HWP_STRING m_sFont;
public:
CCtrlEqEdit();
CCtrlEqEdit(const HWP_STRING& sCtrlID);
CCtrlEqEdit(const CCtrlGeneralShape& oShape);
CCtrlEqEdit(const HWP_STRING& sCtrlID, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
CCtrlEqEdit(const HWP_STRING& sCtrlID, CXMLReader& oReader, EHanType eType);
EShapeType GetShapeType() const override;
HWP_STRING GetEqn() const;
static int ParseElement(CCtrlEqEdit& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
static int ParseCtrl(CCtrlEqEdit& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
static int ParseListHeaderAppend(CCtrlEqEdit& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
};
}
#endif // CTRLEQEDIT_H