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

31 lines
630 B
C++

#ifndef PARATEXT_H
#define PARATEXT_H
#include "Ctrl.h"
namespace HWP
{
class CParaText : public CCtrl
{
HWP_STRING m_sText;
int m_nStartIDx;
int m_nCharShapeID;
public:
CParaText(const HWP_STRING& sCtrlID, const HWP_STRING& sText, int nStartIDx);
CParaText(const HWP_STRING& sCtrlID, const HWP_STRING& sText, int nStartIDx, int nCharShapeID);
ECtrlObjectType GetCtrlType() const override;
unsigned int GetTextLength() const;
int GetStartIDx() const;
int GetCharShapeID() const;
HWP_STRING GetText() const;
void SetCharShapeID(int nCharShapeID);
void SetText(const HWP_STRING& sText);
};
}
#endif // PARATEXT_H