![]() | InDesign SDK 20.5 |
#include <IGalleyTextNavigationSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_IGALLEYTEXTNAVIGATIONSUITE } |
| enum | Units { kNone, kChar, kWord, kLine, kParagraph, kStory } |
| enum | Direction { kNext, kPrev, kStart, kEnd, kAll } |
Public Member Functions | |
| virtual bool16 | SetTextSelection (TextSelectionIndex nStart, TextSelectionIndex nEnd, bool16 endUsedLast=kTrue, bool16 drawIt=kFalse)=0 |
| virtual bool16 | SelectAll (bool16 drawIt=kFalse)=0 |
| virtual bool16 | MoveTextSelection (TextSelectionIndex nTo=kInvalidTextSelectionIndex, bool16 drawIt=kFalse, Units nUnits=kNone, Direction nDirection=kNext)=0 |
| virtual bool16 | ExpandTextSelection (TextSelectionIndex nTo=kInvalidTextSelectionIndex, bool16 drawIt=kFalse, Units nUnits=kNone, Direction nDirection=kNext)=0 |
| virtual bool16 | ScrollViewToSelection (TextSelectionIndex nStart, TextSelectionIndex nEnd)=0 |
| virtual void | Reset ()=0 |
| virtual void | GetAnchorData (TextSelectionIndex *anchorIndex, bool16 *usedEndLast)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Used to navigate through text in a galley story
| pure virtual |
Expands the selection to the specified index
| nTo | - Location to expand the selection to |
| drawIt | - Should the selection be drawn |
| nUnits | - Amount to expand the selection |
| nDirection | - Which way to expand the selection |
| pure virtual |
Returns the location of the anchor point (The end of the selection that is not moving)
| *anchorIndex | - Index of the anchor point |
| *usedEndLast | - Is this point the end of the selection (kTrue) or the beginning (kFalse) |
| pure virtual |
Moves the selection to the specified index
| nTo | - Location to move the selection to |
| drawIt | - should the selection be drawn |
| nUnits | - If the index is invalid, then the units are used to figure things out. |
| nDirection | - Which way to move the selection |
| pure virtual |
Resets the Up/Down data, anchor data, and end of line data
| pure virtual |
Scrolls the view to the selection
| nStart | - Start of the selection |
| nEnd | - End of the selection |
| pure virtual |
Select everything
| pure virtual |
Method to set a text selection.
| nStart | - The beginning of the text range to select |
| nEnd | - The end of the text range to select |
| endUsedLast | - used for extending selection |
| drawIt | - Should the selection be drawn. |