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

interface XTextTableCursor
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XTextTableCursor
Description
The TextTableCursor provide methods to navigate throught the table structure, to merge and split cells

Methods' Summary
getRangeName
gotoCellByName moves the cursor to the cell with the specified name.
goLeft moves the cursor to the left neighbor.
goRight moves the cursor to the right neighbor.
goUp moves the cursor to the top neighbor.
goDown moves the cursor to the bottom neighbor cell.
gotoStart moves the cursor to the top left cell of the table.
gotoEnd moves the cursor to the bottom right cell of the table.
mergeRange merges the selected range of cells.
splitRange splits the range of cells.
Methods' Details
getRangeName
string
getRangeName();
 
 

Returns
the name of the cell range that is selected by this cursor.

The name is the cell name of the top left table cell of the range contatenated by ':' with the table cell name of the bottom left table cell of the cell range. If the range consists of one table cell only then the name of that table cell is returned.

gotoCellByName
boolean
gotoCellByName(
 
[in] string
[in] boolean
 
aCellName,
bExpand );

Description
moves the cursor to the cell with the specified name.
Parameter aCellName
specifies the name of the cell to go to.
Parameter bExpand
determines wether the selection is to be expanded.
goLeft
boolean
goLeft(
 
[in] short
[in] boolean
 
nCount,
bExpand );

Description
moves the cursor to the left neighbor.
Parameter nCount
the number of cells to move.
Parameter bExpand
determines wether the selection is to be expanded.
goRight
boolean
goRight(
 
[in] short
[in] boolean
 
nCount,
bExpand );

Description
moves the cursor to the right neighbor.
Parameter nCount
the number of cells to move.
Parameter bExpand
determines wether the selection is to be expanded.
goUp
boolean
goUp(
 
[in] short
[in] boolean
 
nCount,
bExpand );

Description
moves the cursor to the top neighbor.
Parameter nCount
the number of cells to move.
Parameter bExpand
determines wether the selection is to be expanded.
goDown
boolean
goDown(
 
[in] short
[in] boolean
 
nCount,
bExpand );

Description
moves the cursor to the bottom neighbor cell.
Parameter nCount
the number of cells to move.
Parameter bExpand
determines wether the selection is to be expanded.
gotoStart
void
gotoStart(
 
[in] boolean
 
bExpand );

Description
moves the cursor to the top left cell of the table.
Parameter bExpand
determines wether the selection is to be expanded.
gotoEnd
void
gotoEnd(
 
[in] boolean
 
bExpand );

Description
moves the cursor to the bottom right cell of the table.
Parameter bExpand
determines wether the selection is to be expanded.
mergeRange
boolean
mergeRange();
 
 

Description
merges the selected range of cells.
splitRange
boolean
splitRange(
 
[in] short
[in] boolean
 
nCount,
bHorizontal );

Description
splits the range of cells.
Parameter nCount
specifies the number of new cells that will be created for each cell contained in the range.
Top of Page