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

(Global Index)

Syntax

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

Description

makes it possible to perform cursor movements through sentences.

Method Summary

isStartOfSentence determines if the cursor is positioned at the start of a sentence.

isEndOfSentence determines if the cursor is positioned at the end of a sentence.

gotoNextSentence moves the cursor to the start of the next sentence.

gotoPreviousSentence moves the cursor to the start of the previous sentence.

gotoStartOfSentence moves the cursor to the start of the current sentence.

gotoEndOfSentence moves the cursor to the end of the current sentence.

Known Services Which Export this Interface

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

Method Details



isStartOfSentence

Syntax

boolean isStartOfSentence ();

Description

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


isEndOfSentence

Syntax

boolean isEndOfSentence ();

Description

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


gotoNextSentence

Syntax

boolean gotoNextSentence (
boolean Expand );

Description

moves the cursor to the start of the next sentence.


gotoPreviousSentence

Syntax

boolean gotoPreviousSentence (
boolean Expand );

Description

moves the cursor to the start of the previous sentence.


gotoStartOfSentence

Syntax

boolean gotoStartOfSentence (
boolean Expand );

Description

moves the cursor to the start of the current sentence.


gotoEndOfSentence

Syntax

boolean gotoEndOfSentence (
boolean Expand );

Description

moves the cursor to the end of the current sentence.

Top of Page