OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki
OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki
OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Editing Text Documents 99<br />
com.sun.star.text.TextCursor<br />
service provides for navigation:<br />
goLeft (Count, Expand)<br />
jumps Count characters to the left.<br />
goRight (Count, Expand)<br />
jumps Count characters to the right.<br />
gotoStart (Expand)<br />
jumps to the start of the text document.<br />
gotoEnd (Expand)<br />
jumps to the end of the text document.<br />
gotoRange (TextRange, Expand)<br />
jumps to the specified TextRange-Object.<br />
gotoStartOfWord (Expand)<br />
jumps to the start of the current word.<br />
gotoEndOfWord (Expand)<br />
jumps to the end of the current word.<br />
gotoNextWord (Expand)<br />
jumps to the start of the next word.<br />
gotoPreviousWord (Expand)<br />
jumps to the start of the previous word.<br />
isStartOfWord ()<br />
returns True if the TextCursor is at the start of a word.<br />
isEndOfWord ()<br />
returns True if the TextCursor is at the end of a word.<br />
gotoStartOfSentence (Expand)<br />
jumps to the start of the current sentence.<br />
gotoEndOfSentence (Expand)<br />
jumps to the end of the current sentence.<br />
gotoNextSentence (Expand)<br />
jumps to the start of the next sentence.<br />
gotoPreviousSentence (Expand)<br />
jumps to the start of the previous sentence.<br />
isStartOfSentence ()<br />
returns True if the TextCursor is at the start of a sentence.<br />
isEndOfSentence ()<br />
returns True if the TextCursor is at the end of a sentence.<br />
gotoStartOfParagraph (Expand)<br />
jumps to the start of the current paragraph.<br />
gotoEndOfParagraph (Expand)