mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
29 lines
843 B
C++
29 lines
843 B
C++
#ifndef CTRLSHAPECURVE_H
|
|
#define CTRLSHAPECURVE_H
|
|
|
|
#include "CtrlGeneralShape.h"
|
|
#include "Point.h"
|
|
|
|
namespace HWP
|
|
{
|
|
class CCtrlShapeCurve : public CCtrlGeneralShape
|
|
{
|
|
int m_nPoints;
|
|
std::vector<TPoint> m_arPoints;
|
|
std::vector<HWP_BYTE> m_arSegmentType;
|
|
public:
|
|
CCtrlShapeCurve();
|
|
CCtrlShapeCurve(const HWP_STRING& sCtrlID);
|
|
CCtrlShapeCurve(const CCtrlGeneralShape& oShape);
|
|
CCtrlShapeCurve(const HWP_STRING& sCtrlID, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
|
|
CCtrlShapeCurve(const HWP_STRING& sCtrlID, CXMLNode& oNode, int nVersion);
|
|
|
|
EShapeType GetShapeType() const override;
|
|
|
|
static int ParseElement(CCtrlShapeCurve& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
|
|
static int ParseCtrl(CCtrlShapeCurve& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion);
|
|
};
|
|
}
|
|
|
|
#endif // CTRLSHAPECURVE_H
|