Language
The Free and Open Productivity Suite
:: com :: sun :: star :: text ::
|
interface XSentenceCursor |
- Base Interfaces
XSentenceCursor
┗ XTextCursor
┗ XTextRange
XTextCursor |
- (referenced interface's summary:)
- extends a text range by method to modify its position.
|
|
- Description
- makes it possible to perform cursor movements through sentences.
|
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.
- Returns
- true if the cursor was moved. It returns false it the
cursor can not advance further.
|
|
gotoPreviousSentence
boolean |
gotoPreviousSentence( |
[in] boolean |
Expand ); |
- Description
- moves the cursor to the start of the previous sentence.
- Returns
- true if the cursor was moved. It returns false it the
cursor can not advance further.
|
|
gotoStartOfSentence
boolean |
gotoStartOfSentence( |
[in] boolean |
Expand ); |
- Description
- moves the cursor to the start of the current sentence.
- Returns
- true if the cursor is now at the start of a sentence,
false otherwise. If false was returned the cursor
will remain at its original position.
|
|
gotoEndOfSentence
boolean |
gotoEndOfSentence( |
[in] boolean |
Expand ); |
- Description
- moves the cursor to the end of the current sentence.
- Returns
- true if the cursor is now at the end of a sentence,
false otherwise. If false was returned the cursor
will remain at its original position.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.