Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: view ::
interface XViewCursor
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XViewCursor
Description makes it possible to move a cursor up/down/left/right within laid out text. See also ::com::sun::star::table::CellCursor See also ::com::sun::star::text::TextCursor See also XLineCursor

Methods' Summary
goDown | moves the cursor the specified number of lines down.
goUp | moves the cursor the specified number of lines up.
goLeft | moves the cursor the specified number of characters to the left.
goRight | moves the cursor the specified number of characters to the right.

Methods' Details
goDown
boolean goDown( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of lines down. Parameter nCount specifies the number of lines to go down. Parameter bExpand determines whether the text range of the cursor is expanded ( true ) or the cursor will be just at the new position after the move ( false ). Returns true if the cursor was moved, or false if it was already in the bottom row.
goUp
boolean goUp( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of lines up. Parameter nCount specifies the number of lines to go up. Parameter bExpand determines whether the text range of the cursor is expanded ( true ) Returns true if the cursor was moved, or false if it was already in the top row.
goLeft
boolean goLeft( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of characters to the left. Parameter nCount specifies the number of characters to move. Parameter bExpand determines whether the text range of the cursor is expanded ( true ) Returns true if the cursor was moved, or false if it was already at the leftmost position.
goRight
boolean goRight( | [in] short [in] boolean | nCount, bExpand );
Description moves the cursor the specified number of characters to the right. Parameter nCount specifies the number of characters to move. Parameter bExpand determines whether the text range of the cursor is expanded ( true ) Returns true if the cursor was moved, or false if it was already at the rightmost position.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.