InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TextChunk Class Reference

Public Member Functions

 TextChunk (const ITextModel *textModel, TextIndex index)
 
 TextChunk (const TextChunk &rhs)
 
void ForceContainTextIndex (TextIndex index)
 
bool16 Contains (TextIndex index)
 
int32 Length () const
 
WideString::const_iterator begin () const
 
WideString::const_iterator end () const
 
TextChunkoperator= (const TextChunk &o)
 
TextChunkoperator++ ()
 
TextChunkoperator-- ()
 
WideString::const_iterator IndexToIterator (TextIndex index, int32 &numCharsLeft) const
 
const UTF16TextChar * IndexToPointer (TextIndex index, int32 &numUTF16sLeft) const
 
const ITextModelGetTextModel () const
 
const WideStringGetData () const
 

Protected Member Functions

void Normalize (TextIndex chunkBegin)
 

Protected Attributes

ITextModelfTextModelPtr
 
DataWrapper< textchar > fWrapper
 
int32 fLength
 
TextIndex fStartingIndex
 

Friends

class ComposeScannerCache