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

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

interface XTextCursor

Base Interface
com::sun::star::text::XTextRange



Methods' Summary

collapseToStart sets the end of the position to the start.
collapseToEnd sets the start of the position to the end.
isCollapsed determines if the start and end positions are the same.
goLeft moves the cursor the specified number of characters to the left.
goRight moves the cursor the specified number of characters to the right.
gotoStart moves the cursor to the start of the text.
gotoEnd moves the cursor to the end of the text.
gotoRange moves or expands the cursor to a specified TextRange .

Methods' Details

collapseToStart
 
[ oneway ] void
collapseToStart();
Description
sets the end of the position to the start.
collapseToEnd
 
[ oneway ] void
collapseToEnd();
Description
sets the start of the position to the end.
isCollapsed
 
boolean
isCollapsed();
Description
determines if the start and end positions are the same.
goLeft
 
boolean
goLeft(
[ in ] short nCount,
[ in ] boolean bExpand );

Description
moves the cursor the specified number of characters to the left.
goRight
 
boolean
goRight(
[ in ] short nCount,
[ in ] boolean bExpand );

Description
moves the cursor the specified number of characters to the right.
gotoStart
 
void
gotoStart(
[ in ] boolean bExpand );

Description
moves the cursor to the start of the text.
gotoEnd
 
void
gotoEnd(
[ in ] boolean bExpand );

Description
moves the cursor to the end of the text.
gotoRange
 
void
gotoRange(
[ in ] com::sun::star::text::XTextRange xRange,
[ in ] boolean bExpand );

Description
moves or expands the cursor to a specified TextRange .

Top of Page