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

com :: sun :: star :: sheet ::

interface XCellRangesQuery

Base Interface
com::sun::star::uno::XInterface

Description
provides methods to invoke queries on cells.
See also
com::sun::star::sheet::SheetRangesQuery


Known Services which Export this Interface

com::sun::star::sheet::SheetRangesQuery makes it possible to query for cells.

Methods' Summary

queryVisibleCells points the cursor to only the visible (not hidden) cells of those to which it currently points.
queryEmptyCells collapses the cursor to the empty cells within the range to which it is currently pointing.
queryContentCells collapses the cursor to the cells with the specified content type within the range to which it is currently pointing.
queryFormulaCells queries all cells with a specified result type.
queryColumnDifferences queries all cells which have a different value in a specified row.
queryRowDifferences queries all cells which have a different value in a specified column.
queryIntersection intersects the cursor with the specified cell range.

Methods' Details

queryVisibleCells
 
com::sun::star::sheet::XSheetCellRanges
queryVisibleCells();
Description
points the cursor to only the visible (not hidden) cells of those to which it currently points.
queryEmptyCells
 
com::sun::star::sheet::XSheetCellRanges
queryEmptyCells();
Description
collapses the cursor to the empty cells within the range to which it is currently pointing.

After this operation the cursor only contains the empty cells out of those which it pointed before.

queryContentCells
 
com::sun::star::sheet::XSheetCellRanges
queryContentCells(
[ in ] short nContentFlags );

Description
collapses the cursor to the cells with the specified content type within the range to which it is currently pointing.

After this operation, the cursor only contains cells with the specified content type out of those which it pointed before.

queryFormulaCells
 
com::sun::star::sheet::XSheetCellRanges
queryFormulaCells(
[ in ] long nResultFlags );

Description
queries all cells with a specified result type.

The set of cells to which the cursor is currently pointing will be collapsed into a subset. This subset is specified by the formula cells containing results of a specified type

.
queryColumnDifferences
 
com::sun::star::sheet::XSheetCellRanges
queryColumnDifferences(
[ in ] com::sun::star::table::CellAddress aCompare );

Description
queries all cells which have a different value in a specified row.

The set of cells to which the cursor is currently pointing will be collapsed into a subset. This subset is specified by all cells which have a different value in the same column of the specified row.

queryRowDifferences
 
com::sun::star::sheet::XSheetCellRanges
queryRowDifferences(
[ in ] com::sun::star::table::CellAddress aCompare );

Description
queries all cells which have a different value in a specified column.

The set of cells to which the cursor is currently pointing will be collapsed into a subset. This subset is specified by all cells which have a different value in the same row of the specified column.

queryIntersection
 
com::sun::star::sheet::XSheetCellRanges
queryIntersection(
[ in ] com::sun::star::table::CellRangeAddress aRange );

Description
intersects the cursor with the specified cell range.

The set of cells to which the cursor is currently pointing will be collapsed into a subset. This subset is specified by all cells which are also in the specified range.


Top of Page