InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Text::StoryRange Class Reference
Inheritance diagram for Text::StoryRange:
RangeData

Public Member Functions

 StoryRange (const StoryRange &r) noexcept=default
 
 StoryRange (StoryRange &&r) noexcept=default
 
 StoryRange (const RangeData &r)
 
 StoryRange (TextIndex start, TextIndex end, Lean lean=kLeanForward)
 
StoryRangeoperator= (const StoryRange &r) noexcept=default
 
StoryRangeoperator= (StoryRange &&r) noexcept=default
 
TextIndex GetEnd () const
 
TextIndex GetStart (RangeData::Lean *lean=nil) const
 
- Public Member Functions inherited from RangeData
 RangeData (const RangeData &r) noexcept=default
 
 RangeData (RangeData &&r) noexcept=default
 
 RangeData (const RangeData &r, const RangeData *clip)
 
 RangeData (TextIndex start, TextIndex end, const RangeData *clip=nil)
 
 RangeData (TextIndex caret, Lean lean, const RangeData *clip=nil)
 
 RangeData (TextIndex start, TextIndex end, Lean lean, const RangeData *clip=nil)
 
RangeDataoperator= (const RangeData &) noexcept=default
 
RangeDataoperator= (RangeData &&) noexcept=default
 
TextIndex Start (Lean *lean) const
 
TextIndex End () const
 
int32 Length () const
 
int32 OverlapWith (const RangeData &other) const
 
bool16 StartsBefore (const RangeData &other, bool16 consideringLean=kIgnoreLean) const
 
bool16 EndsAfter (const RangeData &other, bool16 consideringLean=kIgnoreLean) const
 
bool16 Precedes (const RangeData &other) const
 
bool16 Leads (const RangeData &other) const
 
bool16 Succeeds (const RangeData &other) const
 
bool16 Follows (const RangeData &other) const
 
bool16 CompletelyPrecedes (const RangeData &other) const
 
bool16 Contains (const RangeData &other, bool16 consideringLean=kIgnoreLean) const
 
bool16 Contains (TextIndex index) const
 
bool16 Matches (const RangeData &other, bool16 consideringLean=kConsiderLean) const
 
bool16 Begins (const RangeData &other) const
 
bool16 Ends (const RangeData &other) const
 
bool16 Anchors (const RangeData &other) const
 

Additional Inherited Members

- Public Types inherited from RangeData
enum  Lean { kLeanForward = 0, kLeanForth = kLeanForward, kLeanBack = 1, kLeanBackward = kLeanBack }
 
enum  { kDontConsiderLean = 0, kIgnoreLean = kDontConsiderLean, kConsiderLean = 1 }
 
typedef base_type data_type