|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
allows to sort the data represented by a XGridDataModel More...
import"XSortableGridData.idl";
Public Member Functions | |
| void | sortByColumn ([in] long ColumnIndex, [in] boolean SortAscending) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
| sorts the rows represented by the model by a given column's data. More... | |
| void | removeColumnSort () |
| removes any possibly present sorting of the grid data More... | |
| ::com::sun::star::beans::Pair< long, boolean > | getCurrentSortOrder () |
| returns the current sort order. More... | |
allows to sort the data represented by a XGridDataModel
| ::com::sun::star::beans::Pair< long, boolean > getCurrentSortOrder | ( | ) |
returns the current sort order.
TRUE if the data is sorted ascending, FALSE otherwise. | void removeColumnSort | ( | ) |
removes any possibly present sorting of the grid data
| void sortByColumn | ( | [in] long | ColumnIndex, |
| [in] boolean | SortAscending | ||
| ) | |||
| raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |
| ) | |||
sorts the rows represented by the model by a given column's data.
| ColumnIndex | the index of the column whose data should be used as sort key |
| SortAscending | is TRUE if the data should be sorted ascending, FALSE otherwise. |
| com::sun::star::lang::IndexOutOfBoundsException | if ColumnIndex does not denote a valid column. |
1.8.13