Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: table ::

interface XCellCursor
Base Interfaces
XCellCursorXCellRange

XCellRange
(referenced interface's summary:)
provides access to the cells or to sub-ranges of a cell range.
Description
provides methods to control the position of a cell cursor.
See also
CellCursor

Methods' Summary
gotoStart points the cursor to a single cell which is the beginning of a contiguous series of (filled) cells.  
gotoEnd points the cursor to a single cell which is the end of a contiguous series of (filled) cells.  
gotoNext points the cursor to the next unprotected cell.  
gotoPrevious points the cursor to the previous unprotected cell.  
gotoOffset moves the origin of the cursor relative to the current position.  
Methods' Details
gotoStart
void
gotoStart();

Description
points the cursor to a single cell which is the beginning of a contiguous series of (filled) cells.
gotoEnd
void
gotoEnd();

Description
points the cursor to a single cell which is the end of a contiguous series of (filled) cells.
gotoNext
void
gotoNext();

Description
points the cursor to the next unprotected cell.

If the sheet is not protected, this is the next cell to the right.

gotoPrevious
void
gotoPrevious();

Description
points the cursor to the previous unprotected cell.

If the sheet is not protected, this is the next cell to the left.

gotoOffset
void
gotoOffset( [in] long  nColumnOffset,
[in] long  nRowOffset );

Description
moves the origin of the cursor relative to the current position.
Parameter nColumnOffset
is the count of columns to move. A negative value moves the cursor to the left.
Parameter nRowOffset
is the count of rows to move. A negative value moves the cursor to the top.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.