Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: text ::
interface XTextCursor
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XTextRange
          |
          +-XTextCursor
Description extends a text range by method to modify its position.

Methods' Summary
collapseToStart | sets the end of the position to the start.
collapseToEnd | sets the start of the position to the end.
isCollapsed | determines if the start and end positions are the same.
goLeft | moves the cursor the specified number of characters to the left.
goRight | moves the cursor the specified number of characters to the right.
gotoStart | moves the cursor to the start of the text.
gotoEnd | moves the cursor to the end of the text.
gotoRange | moves or expands the cursor to a specified TextRange .

Methods' Details
collapseToStart
[oneway] void collapseToStart(); |  |
Description sets the end of the position to the start.
collapseToEnd
[oneway] void collapseToEnd(); |  |
Description sets the start of the position to the end.
isCollapsed
boolean isCollapsed(); |  |
Description determines if the start and end positions are the same.
goLeft
boolean goLeft( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of characters to the left.
goRight
boolean goRight( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of characters to the right.
gotoStart
void gotoStart( | [in] boolean | bExpand );
Description moves the cursor to the start of the text.
gotoEnd
void gotoEnd( | [in] boolean | bExpand );
Description moves the cursor to the end of the text.
gotoRange
void gotoRange( | [in] XTextRange [in] boolean | xRange, bExpand );
Description moves or expands the cursor to a specified TextRange .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.