Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: util ::
interface XSortable
Description 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: com::sun::star::util::SortDescriptor com::sun::star::table::TableSortDescriptor com::sun::star::text::TextSortDescriptor And a new set of sort descriptors: com::sun::star::util::SortDescriptor2 com::sun::star::table::TableSortDescriptor2 com::sun::star::text::TextSortDescriptor2 Both types may be implemented by the same object. When calling the sort method however properties from different descriptors must not be mixed. Developers Guide Text - Sorting Text

Methods' Summary
createSortDescriptor |
sort | sorts the contents of the object according to the specified properties.

Methods' Details
createSortDescriptor
sequence< ::com::sun::star::beans::PropertyValue >
createSortDescriptor();
Returns a sequence of properties which allows to specify/modify the sort criteria. 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. See also SortDescriptor, ::com::sun::star::table::TableSortDescriptor, ::com::sun::star::text::TextSortDescriptor, SortDescriptor2, ::com::sun::star::table::TableSortDescriptor2, ::com::sun::star::text::TextSortDescriptor2
sort
void
sort( | [in] sequence< ::com::sun::star::beans::PropertyValue > | xDescriptor );
Description 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. See also SortDescriptor, ::com::sun::star::table::TableSortDescriptor, ::com::sun::star::text::TextSortDescriptor, SortDescriptor2, ::com::sun::star::table::TableSortDescriptor2, ::com::sun::star::text::TextSortDescriptor2

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.