Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: table ::
struct TableSortField
Description describes how to sort a single field (row/column) in a tables sort descriptor. See also TableSortDescriptor2 Since version OpenOffice.org 1.1.1

Elements' Summary
Field | index of the row or column in the table to be sorted; 0-based.
IsAscending | true if data are sorted in ascending order, false if in descending order.
IsCaseSensitive | specifies if the case of letters is important when comparing entries.
FieldType | type of contents in the field.
CollatorLocale | the locale used by the collator when comparing/sorting text.
CollatorAlgorithm | the algorithm used by the collator when comparing/sorting text.

Elements' Details
Field
long Field; Description index of the row or column in the table to be sorted; 0-based.
IsAscending
boolean IsAscending; Description true if data are sorted in ascending order, false if in descending order.
IsCaseSensitive
boolean IsCaseSensitive; Description specifies if the case of letters is important when comparing entries.
FieldType
TableSortFieldType FieldType; Description type of contents in the field. If the value is AUTOMATIC the algorithm used for sorting is application specific. Especially it may or may not use the values given by 'CollatorLocale' and 'CollatorAlgorithm'.
CollatorLocale
::com::sun::star::lang::Locale CollatorLocale; Description the locale used by the collator when comparing/sorting text. This property will not be used when the 'FieldType' is NUMERIC @ see com::sun::star::i18n::XCollator
CollatorAlgorithm
string CollatorAlgorithm; Description the algorithm used by the collator when comparing/sorting text. This property will not be used when the 'FieldType' is NUMERIC @ see com::sun::star::i18n::XCollator

Top of Page

Copyright © 2003 Sun Microsystems, Inc.