summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-08-11 14:04:56 +0000
committerOliver Bolte <obo@openoffice.org>2004-08-11 14:04:56 +0000
commita1e2c9b7781684c57153beb505575d4ed61b527a (patch)
treec94676be1fbd285719fc0291aa57638881da728d
parente0497ce01b71b9212983df28ebe2256d56931f47 (diff)
INTEGRATION: CWS tleamisc (1.8.6); FILE MERGED
2004/06/21 11:53:46 tl 1.8.6.2: #i23397# XWordCursor fixed and documentation added 2004/06/21 06:38:22 tl 1.8.6.1: #i23397# XWordCursor fixed and documentation added
-rw-r--r--offapi/com/sun/star/text/XWordCursor.idl37
1 files changed, 28 insertions, 9 deletions
diff --git a/offapi/com/sun/star/text/XWordCursor.idl b/offapi/com/sun/star/text/XWordCursor.idl
index 6b062a1de9f8..e29371df58a9 100644
--- a/offapi/com/sun/star/text/XWordCursor.idl
+++ b/offapi/com/sun/star/text/XWordCursor.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: XWordCursor.idl,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2004-06-04 00:41:27 $
+ * last change: $Author: obo $ $Date: 2004-08-11 15:04:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,50 +72,69 @@
//=============================================================================
-// DocMerge from xml: interface com::sun::star::text::XWordCursor
/** makes it possible to move a cursor word by word.
*/
published interface XWordCursor: com::sun::star::text::XTextCursor
{
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::isStartOfWord
/** determines if the cursor is positioned at the start of a word.
*/
boolean isStartOfWord();
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::isEndOfWord
/** determines if the cursor is positioned at the end of a word.
*/
boolean isEndOfWord();
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::gotoNextWord
/** moves the cursor to the next word.
+
+ <p>Note: the function returning <true/> does not necessarily mean
+ that the cursor is located at the next word, or any word at all!
+ This may happen for example if it travels over empty paragraphs.</p>
+
+ @returns
+ <true/> if the cursor was moved. It returns <false/> it the
+ cursor can not advance further.
*/
boolean gotoNextWord( [in] boolean bExpand );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::gotoPreviousWord
/** moves the cursor to the previous word.
+
+ <p>Note: the function returning <true/> does not necessarily mean
+ that the cursor is located at the previous word, or any word at all!
+ This may happen for example if it travels over empty paragraphs.</p>
+
+ @returns
+ <true/> if the cursor was moved. It returns <false/> it the
+ cursor can not advance further.
*/
boolean gotoPreviousWord( [in] boolean bExpand );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::gotoEndOfWord
/** moves the cursor to the end of the current word.
+
+ @returns
+ <true/> if the cursor is now at the end of a word,
+ <false/> otherwise. If <false/> was returned the cursor
+ will remain at its original position.
*/
boolean gotoEndOfWord( [in] boolean bExpand );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::text::XWordCursor::gotoStartOfWord
/** moves the cursor to the start of the current word.
+
+ @returns
+ <true/> if the cursor is now at the start of a word,
+ <false/> otherwise. If <false/> was returned the cursor
+ will remain at its original position.
*/
boolean gotoStartOfWord( [in] boolean bExpand );