40 #ifndef _uitexttoken_h
41 #define _uitexttoken_h
90 Type(TT_Error), RenderSize(0) { }
95 Type(TType), RenderSize(0), Text(RawText) { }
100 Type(TT_Text), RenderSize(0) { this->InsertCharacters(0,Characters,Size); }
105 Type(TT_Text), RenderSize(0) { this->InsertCharacters(0,Characters,Size); }
115 virtual const String& GetRawCharacterString()
const;
121 virtual UInt32 GetRawCharacterSize()
const;
126 virtual UInt32 GetRenderCharacterSize()
const;
159 virtual UInt32 ClearAllCharacters();
185 TextToken(RawText,TType), TagName(Name) { }
195 const String& GetTagName()
const;
223 TagToken(RawText,Name,TType), PartnerTag(NULL) { }
249 virtual UInt32 ClearAllCharacters();
290 virtual UInt32 ClearAllCharacters();
330 virtual String GetRawString()
const;
364 virtual void PushToken(
TextToken* ToBePushed);
370 virtual void DestroyAllTokens();
403 virtual UInt32 ClearAllCharacters();