InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextObjectParent::RangeIter Class Referenceabstract
Inheritance diagram for ITextObjectParent::RangeIter:
ITextObjectParent::SingleRangeIter

Public Member Functions

virtual bool16 GetFirstRange (UIDRef &textModelRef, InterfacePtr< const ITextStoryThread > &thread, TextIndex &threadStart, int32 &threadSpan, TextIndex &adjThreadStart, int32 &adjThreadSpan, TextIndex &rangeStart, int32 &rangeSpan)=0
 
virtual bool16 GetNextRange (InterfacePtr< const ITextStoryThread > &thread, TextIndex &threadStart, int32 &threadSpan, TextIndex &adjThreadStart, int32 &adjThreadSpan, TextIndex &rangeStart, int32 &rangeSpan)=0
 

Protected Member Functions

 RangeIter (const RangeIter &other)
 

Member Function Documentation

virtual bool16 ITextObjectParent::RangeIter::GetFirstRange (UIDReftextModelRef,
InterfacePtr< const ITextStoryThread > & thread,
TextIndex & threadStart,
int32 & threadSpan,
TextIndex & adjThreadStart,
int32 & adjThreadSpan,
TextIndex & rangeStart,
int32 & rangeSpan 
)
pure virtual

Returns the first range (if any) managed by the parent. The range may include the final CR of the TextStoryThread not

Parameters
textModelUID
threadStartThe TextIndex of the start of the Thread
threadSpanThe number of characters in the Thread
adjThreadStartThe adjusted TextIndex of the start of the Thread. For more applications this will be the same as threadStart. However, some implementations such as the backing store wish to prevent access to some number of chracters at the start and end of the story thread without disguising the true thread boundries. All extending adjustments that take for things like Words, Lines, TextStyleRanges, etc will be clipped to the adjThreadStart and adjThreadSpan.
adjThreadSpanThe adjusted number of characters in the Thread
rangeStartThe TextIndex of the start of the range within which text objects will be found
rangeSpanThe number of characters in the range within which text objects will be found - may be zero.
Returns
kTrue if there is a first Range, kFalse otherwise

Implemented in ITextObjectParent::SingleRangeIter.

virtual bool16 ITextObjectParent::RangeIter::GetNextRange (InterfacePtr< const ITextStoryThread > & thread,
TextIndex & threadStart,
int32 & threadSpan,
TextIndex & adjThreadStart,
int32 & adjThreadSpan,
TextIndex & rangeStart,
int32 & rangeSpan 
)
pure virtual

Returns a subsequent range (if any) managed by the parent. The range may include the final CR of the TextStoryThread not

Parameters
threadStartThe TextIndex of the start of the Thread
threadSpanThe number of characters in the Thread
adjThreadStartThe adjusted TextIndex of the start of the Thread. For more applications this will be the same as threadStart. However, some implementations such as the backing store wish to prevent access to some number of chracters at the start and end of the story thread without disguising the true thread boundries. All extending adjustments that take for things like Words, Lines, TextStyleRanges, etc will be clipped to the adjThreadStart and adjThreadSpan.
adjThreadSpanThe adjusted number of characters in the Thread
rangeStartThe TextIndex of the start of the range within which text objects will be found
rangeSpanThe number of characters in the range within which text objects will be found - may be zero.
Returns
kTrue if there is a subsequent Range, kFalse otherwise

Implemented in ITextObjectParent::SingleRangeIter.