24 #ifndef __ITextCommandPreProcess__ 25 #define __ITextCommandPreProcess__ 27 #include "IPMUnknown.h" 29 #include "PMTextUtils.h" 44 enum { kDefaultIID = IID_ITEXTEDITPREPROCESS };
47 virtual bool16 DeletePreProcess(
ITextModel* model, TextIndex& position, int32& length) = 0;
48 virtual bool16 ApplyStylePreProcess(
ITextModel* model, TextIndex& position, int32& length,
UID& styleRef,
ClassID& whichStrand) = 0;
60 virtual void GetSubRangePreProcess(
ITextModel* model, TextIndex& start, int32& length,
const Text::StoryRangeList& contextList, int32 contextListIndex) = 0;
63 virtual void BeginProcessCommand(
ICommand *cmd ) = 0;
64 virtual void EndProcessCommand(
ICommand *cmd ) = 0;