Files
DocumentServer-v-9.2.0/core/HwpFile/HwpDoc/Paragraph/CtrlCharacter.h
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

34 lines
650 B
C++

#ifndef CTRLCHARACTER_H
#define CTRLCHARACTER_H
#include "Ctrl.h"
namespace HWP
{
enum class ECtrlCharType
{
LINE_BREAK = 0x1,
PARAGRAPH_BREAK = 0x2,
HARD_HYPHEN = 0x3,
HARD_SPACE = 0x04,
TABULATION = 0x05
};
class CCtrlCharacter : public CCtrl
{
ECtrlCharType m_eCtrlChar;
int m_nCharShapeID;
public:
CCtrlCharacter(const HWP_STRING& sCtrlID, ECtrlCharType eCtrlChar);
CCtrlCharacter(const HWP_STRING& sCtrlID, ECtrlCharType eCtrlChar, int nCharShapeID);
ECtrlObjectType GetCtrlType() const override;
int GetCharShapeId() const;
ECtrlCharType GetType() const;
void SetCharShapeID(int nCharShapeID);
};
}
#endif // CTRLCHARACTER_H