24 #ifndef __SnpTextModelHelper_H_DEFINED__ 25 #define __SnpTextModelHelper_H_DEFINED__ 27 #include "TextRange.h" 65 ErrorCode
InsertText(
ITextModel* textModel,
const TextIndex position,
const boost::shared_ptr<WideString>& text);
82 ErrorCode
ReplaceText(
ITextModel* textModel,
const TextIndex position,
const int32 length,
const boost::shared_ptr<WideString>& text);
93 ErrorCode
ApplyOverrides(
ITextModel* textModel,
const TextIndex position,
const int32 length,
const boost::shared_ptr<AttributeBossList>& attr,
ClassID whichStrand);
104 ErrorCode
ClearOverrides(
ITextModel* textModel,
const TextIndex position,
const int32 length,
const boost::shared_ptr<AttributeBossList>& attr,
ClassID whichStrand);
129 const UIDRef& sourceStory,
130 TextIndex sourceStart,
182 #endif // __SnpTextModelHelper_H_DEFINED__