24 #ifndef __INOTEUIUTILS__ 25 #define __INOTEUIUTILS__ 38 #include "IPMUnknown.h" 41 #include "IRangeData.h" 49 enum { kDefaultIID = IID_INOTEUIUTILS };
50 enum SelectionOwnerType { kNone, kSelectionInLayout, kSelectionInGalley, kSelectionInNoteInGalley, kSelectionInNoteInLayout };
229 virtual bool16
GetNoteRegion(
ITextModel* textModel, TextIndex cursorIndexHit, int32 hitTestExpandOffset, TextIndex& anchorIndex)
const = 0;
263 virtual void GetCurrentActionState(TextIndex& focusStart, TextIndex& focusEnd, TextIndex& noteAnchorPos,
264 UIDRef& storyRef, bool16& storyHasFocus, bool16& focusInsideNote,
265 bool16& focusInMainStoryThread, bool16& noteHidden, bool16& editable,
266 bool16& focusInsideDeletedText, TextIndex * threadStart = nil, TextIndex * threadEnd = nil) = 0;
322 #endif // __INOTEUIUTILS__