interface XWordCursor in module com::sun::star::text::

(Global Index)

Syntax

interface XWordCursor : com::sun::star::text::XTextCursor ;

Description

makes it possible to move a cursor word by word.

Method 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.

Known Services Which Export this Interface

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

Method Details



isStartOfWord

Syntax

boolean isStartOfWord ();

Description

determines if the cursor is positioned at the start of a word.


isEndOfWord

Syntax

boolean isEndOfWord ();

Description

determines if the cursor is positioned at the end of a word.


gotoNextWord

Syntax

boolean gotoNextWord (
boolean bExpand );

Description

moves the cursor to the next word.


gotoPreviousWord

Syntax

boolean gotoPreviousWord (
boolean bExpand );

Description

moves the cursor to the previous word.


gotoEndOfWord

Syntax

boolean gotoEndOfWord (
boolean bExpand );

Description

moves the cursor to the end of the current word.


gotoStartOfWord

Syntax

boolean gotoStartOfWord (
boolean bExpand );

Description

moves the cursor to the start of the current word.

Top of Page