From Apache OpenOffice Wiki
< Documentation | DevGuide
- Text Fields
- Indexes and Index Marks
- Reference Marks
- Footnotes and Endnotes
- Shape Objects in Text
It is possible to sort text or the content of text tables.
Sorting of text is done by the text cursor that supports com.sun.star.util.XSortable. It contains two methods:
sequence< com::sun::star::beans::PropertyValue > createSortDescriptor() void sort( [in] sequence< com::sun::star::beans::PropertyValue > xDescriptor)
createSortDescriptor() returns a sequence of com.sun.star.beans.PropertyValue that provides the elements as described in the service com.sun.star.text.TextSortDescriptor
sort() sorts the text that is selected by the cursor, by the given parameters.
Sorting of tables happens directly at the table service, which supports
XSortable. Sorting is a common feature of Apache OpenOffice and it is described in detail in Office Development.
|Content on this page is licensed under the Public Documentation License (PDL).|