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

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

interface XSentenceCursor

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

Description
makes it possible to perform cursor movements through sentences.


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

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.

Methods' Details

isStartOfSentence
 
boolean
isStartOfSentence();
Description
determines if the cursor is positioned at the start of a sentence.
isEndOfSentence
 
boolean
isEndOfSentence();
Description
determines if the cursor is positioned at the end of a sentence.
gotoNextSentence
 
boolean
gotoNextSentence(
[ in ] boolean Expand );

Description
moves the cursor to the start of the next sentence.
gotoPreviousSentence
 
boolean
gotoPreviousSentence(
[ in ] boolean Expand );

Description
moves the cursor to the start of the previous sentence.
gotoStartOfSentence
 
boolean
gotoStartOfSentence(
[ in ] boolean Expand );

Description
moves the cursor to the start of the current sentence.
gotoEndOfSentence
 
boolean
gotoEndOfSentence(
[ in ] boolean Expand );

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

Top of Page