LibreOffice
LibreOffice 24.2 SDK API Reference
|
represents a database range in a spreadsheet document. More...
import"DatabaseRange.idl";
Exported Interfaces | |
interface | com::sun::star::sheet::XDatabaseRange |
interface | com::sun::star::sheet::XCellRangeReferrer |
interface | com::sun::star::beans::XPropertySet |
interface | com::sun::star::container::XNamed |
interface | com::sun::star::util::XRefreshable |
Public Attributes | |
boolean | MoveCells |
if this property is set, columns or rows are inserted or deleted when the size of the range is changed by an update operation. More... | |
boolean | KeepFormats |
if this property is set, cell formats are extended when the size of the range is changed by an update operation. More... | |
boolean | StripData |
if this property is set, the cell contents within the database range are left out when the document is saved. More... | |
boolean | AutoFilter |
specifies whether the AutoFilter is enabled or not. More... | |
boolean | UseFilterCriteriaSource |
specifies whether the filter criteria should be taken from a CellRange. More... | |
com::sun::star::table::CellRangeAddress | FilterCriteriaSource |
specifies the range where the filter can find the filter criteria. More... | |
long | RefreshPeriod |
specifies the time between two refresh actions in seconds. More... | |
boolean | FromSelection |
specifies whether the imported data is only a selection of the database. More... | |
long | TokenIndex |
returns the index used to refer to this range in token arrays. More... | |
boolean | TotalsRow |
specifies whether this range includes a bottom row of totals. More... | |
boolean | ContainsHeader |
specifies whether this range includes a top row of headers. More... | |
Additional Inherited Members | |
![]() | |
com::sun::star::table::CellRangeAddress | getDataArea () |
returns the data area of the database range in the spreadsheet document. More... | |
void | setDataArea ([in] com::sun::star::table::CellRangeAddress aDataArea) |
sets the data area of the database range. More... | |
sequence< com::sun::star::beans::PropertyValue > | getSortDescriptor () |
returns the sort descriptor stored with the database range. More... | |
XSheetFilterDescriptor | getFilterDescriptor () |
returns the filter descriptor stored with the database range. More... | |
XSubTotalDescriptor | getSubTotalDescriptor () |
returns the subtotal descriptor stored with the database range. More... | |
sequence< com::sun::star::beans::PropertyValue > | getImportDescriptor () |
returns the database import descriptor stored with this database range. More... | |
void | refresh () |
executes the stored import, filter, sorting, and subtotals descriptors again. More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
![]() | |
com::sun::star::table::XCellRange | getReferredCells () |
returns the cell range object that is represented. More... | |
![]() | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
![]() | |
string | getName () |
void | setName ([in] string aName) |
sets the programmatic name of the object. More... | |
![]() | |
void | refresh () |
refreshes the data of the object from the connected data source. More... | |
void | addRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
adds the specified listener to receive the event "refreshed." More... | |
void | removeRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
removes the specified listener. More... | |
represents a database range in a spreadsheet document.
A database range is a name for a cell range that also stores filtering, sorting, subtotal and data import settings and options.
interface com::sun::star::beans::XPropertySet |
interface com::sun::star::container::XNamed |
interface com::sun::star::sheet::XDatabaseRange |
|
optional |
|
optionalproperty |
specifies whether the AutoFilter is enabled or not.
|
optionalproperty |
specifies whether this range includes a top row of headers.
|
optionalproperty |
specifies the range where the filter can find the filter criteria.
This is only used if SheetFilterDescriptor::UseFilterCriteriaSource is TRUE
.
|
optionalproperty |
specifies whether the imported data is only a selection of the database.
|
property |
if this property is set, cell formats are extended when the size of the range is changed by an update operation.
|
property |
if this property is set, columns or rows are inserted or deleted when the size of the range is changed by an update operation.
|
optionalproperty |
specifies the time between two refresh actions in seconds.
|
property |
if this property is set, the cell contents within the database range are left out when the document is saved.
|
optionalpropertyreadonly |
returns the index used to refer to this range in token arrays.
A token describing a database range shall contain the op-code obtained from the FormulaMapGroupSpecialOffset::DB_AREA and this index as data part.
|
optionalproperty |
specifies whether this range includes a bottom row of totals.
|
optionalproperty |
specifies whether the filter criteria should be taken from a CellRange.