24 #ifndef __ITextCommandPostProcess__ 25 #define __ITextCommandPostProcess__ 27 #include "IPMUnknown.h" 29 #include "K2SmartPtr.h" 46 enum { kDefaultIID = IID_ITEXTEDITPOSTPROCESS };
50 virtual void ReplacePostProcess(
ITextModel* model, TextIndex position, int32 length,
const WideString* data,
const ILanguage *pLanguage = nil ) = 0;
51 virtual void DeletePostProcess(
ITextModel* model, TextIndex position, int32 length) = 0;
52 virtual void ApplyStylePostProcess(
ITextModel* model, TextIndex position, int32 length,
UID styleRef,
ClassID whichStrand) = 0;
57 virtual void PastePostProcess(
ITextModel* model, TextIndex position,
const PasteData *data, int32 subrange) = 0;
58 virtual void ReplacePostProcess(
ITextModel* model,
const boost::shared_ptr<ITextModel::ReplacementList>& replList) = 0;
61 virtual void BeginProcessCommand(
ICommand *cmd ) = 0;
62 virtual void EndProcessCommand(
ICommand *cmd ) = 0;