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

#include <ICTextNavigationSuite.h>

Public Member Functions

 TextSelectionIndex (TextIndex nIndex, bool16 endOfLine)
 
TextSelectionIndexoperator= (const TextSelectionIndex &rhs)
 

Public Attributes

TextIndex fIndex
 
bool16 fEndOfLine
 

Detailed Description

Used as a helper classs for ICTextNavigationSuite. Allows more than the TextIndex to be passed to a method as a single parameter indicating a selection

Constructor & Destructor Documentation

TextSelectionIndex::TextSelectionIndex (TextIndex nIndex,
bool16 endOfLine 
)
inline

Construct a TextSelectionIndex

Parameters
nIndex- The selection location
endOfLine- Does the selection extend past the end of the line?

Member Function Documentation

TextSelectionIndex& TextSelectionIndex::operator= (const TextSelectionIndexrhs)
inline

Uses the data from another TextSelectionIndex to fill in this one

Parameters
&rhs- The class to make this equal to
Returns
- A reference to this so that you can string operations together.

Member Data Documentation

bool16 TextSelectionIndex::fEndOfLine

Does the selection extend past the end of the line

TextIndex TextSelectionIndex::fIndex

The text index to select (or that is selected)