Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: text ::

interface XWordCursor

Base Interface
com::sun::star::text::XTextCursor

Description
makes it possible to move a cursor word by word.


Known Services which Export this Interface

com::sun::star::text::TextCursor A TextCursor is a TextRange which can be moved within a Text object.

Methods' Summary

isStartOfWord determines if the cursor is positioned at the start of a word.
isEndOfWord determines if the cursor is positioned at the end of a word.
gotoNextWord moves the cursor to the next word.
gotoPreviousWord moves the cursor to the previous word.
gotoEndOfWord moves the cursor to the end of the current word.
gotoStartOfWord moves the cursor to the start of the current word.

Methods' Details

isStartOfWord
 
boolean
isStartOfWord();
Description
determines if the cursor is positioned at the start of a word.
isEndOfWord
 
boolean
isEndOfWord();
Description
determines if the cursor is positioned at the end of a word.
gotoNextWord
 
boolean
gotoNextWord(
[ in ] boolean bExpand );

Description
moves the cursor to the next word.
gotoPreviousWord
 
boolean
gotoPreviousWord(
[ in ] boolean bExpand );

Description
moves the cursor to the previous word.
gotoEndOfWord
 
boolean
gotoEndOfWord(
[ in ] boolean bExpand );

Description
moves the cursor to the end of the current word.
gotoStartOfWord
 
boolean
gotoStartOfWord(
[ in ] boolean bExpand );

Description
moves the cursor to the start of the current word.

Top of Page