:: com :: sun :: star :: table ::

struct TableSortField

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 com::sun::star::table::TableSortFieldType::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 com::sun::star::table::TableSortFieldType::NUMERIC

See also
::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 com::sun::star::table::TableSortFieldType::NUMERIC

See also
::com::sun::star::i18n::XCollator
Top of Page