interface XDatabaseRange in module com::sun::star::sheet::

(Global Index)

Syntax

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

Description

represents a cell range for which data operations are defined.

See also

DatabaseRange

Method Summary

getDataArea returns the data area of the database range.

setDataArea sets the data area of the database range.

getSortDescriptor returns the sort descriptor stored with the database range.

getFilterDescriptor returns the filter descriptor stored with the database range.

getSubTotalDescriptor returns the subtotal descriptor stored with the database range.

getImportDescriptor returns the DatabaseImportDescriptor stored with this database range.

refresh executes the stored import, filter, sorting, and subtotals descriptors again.

Known Services Which Export this Interface

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

Method Details



getDataArea

Syntax

com::sun::star::table::CellRangeAddress getDataArea ();

Description

returns the data area of the database range.


setDataArea

Syntax

void setDataArea (
com::sun::star::table::CellRangeAddress aDataArea );

Description

sets the data area of the database range.


getSortDescriptor

Syntax

sequence< com::sun::star::beans::PropertyValue > getSortDescriptor ();

Description

returns the sort descriptor stored with the database range.


getFilterDescriptor

Syntax

com::sun::star::sheet::XSheetFilterDescriptor getFilterDescriptor ();

Description

returns the filter descriptor stored with the database range.

If the filter descriptor is modified, the new filtering is carried out when XDatabaseRange::refresh() is called.


getSubTotalDescriptor

Syntax

com::sun::star::sheet::XSubTotalDescriptor getSubTotalDescriptor ();

Description

returns the subtotal descriptor stored with the database range.

If the subtotal descriptor is modified, the new subtotals are inserted when XDatabaseRange::refresh() is called.


getImportDescriptor

Syntax

sequence< com::sun::star::beans::PropertyValue > getImportDescriptor ();

Description

returns the DatabaseImportDescriptor stored with this database range.


refresh

Syntax

void refresh ();

Description

executes the stored import, filter, sorting, and subtotals descriptors again.

Top of Page