interface XCellRange in module com::sun::star::table::

(Global Index)

Syntax

interface XCellRange : com::sun::star::uno::XInterface ;

Description

represents a range of cells in a table.

See also

CellRange

Method Summary

getCellByPosition

getCellRangeByPosition

getCellRangeByName finds a cell or cell range by its name.

Known Services Which Export this Interface

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

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

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

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

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

Method Details



getCellByPosition

Syntax

com::sun::star::table::XCell getCellByPosition (
long nColumn,
long nRow )
raises ( com::sun::star::lang::IndexOutOfBoundsException );

Returns

the specified cell.

Parameter nColumn

is the column index of the cell.

Parameter nRow

is the row index of the cell.

getCellRangeByPosition

Syntax

com::sun::star::table::XCellRange getCellRangeByPosition (
long nLeft,
long nTop,
long nRight,
long nBottom )
raises ( com::sun::star::lang::IndexOutOfBoundsException );

Returns

the specified sub-range.

Parameter nLeft

is the column index of the first cell.

Parameter nTop

is the row index of the first cell.

Parameter nRight

is the column index of the last cell.

Parameter nBottom

is the row index of the last cell.

getCellRangeByName

Syntax

com::sun::star::table::XCellRange getCellRangeByName (
string aRange );

Description

finds a cell or cell range by its name.

Top of Page