LibreOffice
LibreOffice 7.4 SDK API Reference
|
makes it possible to sort the contents of this object. More...
import"XSortable.idl";
Public Member Functions | |
sequence< com::sun::star::beans::PropertyValue > | createSortDescriptor () |
void | sort ([in] sequence< com::sun::star::beans::PropertyValue > xDescriptor) |
sorts the contents of the object according to the specified properties. 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... | |
makes it possible to sort the contents of this object.
The available properties describing the sort criteria are defined in the sort descriptor implemented by the object that implements this interface.
There are older deprecated sort descriptors:
And a new set of sort descriptors:
Both types may be implemented by the same object. When calling the sort method however properties from different descriptors must not be mixed.
sequence< com::sun::star::beans::PropertyValue > createSortDescriptor | ( | ) |
The set of properties is specific to the type of object that implements this interface. Therefore they can usually be used only for objects of that same type.
void sort | ( | [in] sequence< com::sun::star::beans::PropertyValue > | xDescriptor | ) |
sorts the contents of the object according to the specified properties.
The specified properties are usually the same or a subset of those obtained by calling createSortDescriptor() on the same type of object.