Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
 
::  com  :: sun  :: star  :: text  :: 
 
 
interface XWordCursor 
 
Base Interfaces  
XWordCursor 
┗ XTextCursor 
   ┗ XTextRange 
 
XTextCursor  
(referenced interface's summary:) 
extends a text range by method to modify its position.
  
 
 
 
 
 
 
 
Description  
makes it possible to move a cursor word by word.
  
 
 
 
 
Methods' 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.
   
 
Methods' Details 
 
isStartOfWord 
 
Description  
determines if the cursor is positioned at the start of a word.
  
 
 
 
 
 
isEndOfWord 
 
Description  
determines if the cursor is positioned at the end of a word.
  
 
 
 
 
 
gotoNextWord 
boolean 
 
gotoNextWord ( 
[in] boolean 
 bExpand ); 
 
 
Description  
moves the cursor to the next word.
  
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.
  
Returns  
true  if the cursor was moved. It returns false  it the
 cursor can not advance further.
  
 
 
 
 
 
gotoPreviousWord 
boolean 
 
gotoPreviousWord ( 
[in] boolean 
 bExpand ); 
 
 
Description  
moves the cursor to the previous word.
  
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.
  
Returns  
true  if the cursor was moved. It returns false  it the
 cursor can not advance further.
  
 
 
 
 
 
gotoEndOfWord 
boolean 
 
gotoEndOfWord ( 
[in] boolean 
 bExpand ); 
 
 
Description  
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.
  
 
 
 
 
 
gotoStartOfWord 
boolean 
 
gotoStartOfWord ( 
[in] boolean 
 bExpand ); 
 
 
Description  
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.
  
 
 
 
 
 
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.