LibreOffice
LibreOffice 4.3 SDK API Reference
Public Attributes | List of all members
TableSortField Struct Referencepublished

describes how to sort a single field (row/column) in a tables sort descriptor. More...

import"TableSortField.idl";

Public Attributes

long Field
 index of the row or column in the table to be sorted; 0-based. More...
 
boolean IsAscending
 TRUE if data are sorted in ascending order, FALSE if in descending order. More...
 
boolean IsCaseSensitive
 specifies if the case of letters is important when comparing entries. More...
 
com::sun::star::table::TableSortFieldType FieldType
 type of contents in the field. More...
 
com::sun::star::lang::Locale CollatorLocale
 the locale used by the collator when comparing/sorting text. More...
 
string CollatorAlgorithm
 the algorithm used by the collator when comparing/sorting text. More...
 

Detailed Description

describes how to sort a single field (row/column) in a tables sort descriptor.

See also
com::sun::star::table::TableSortDescriptor2
Since
OOo 1.1.2

Member Data Documentation

string CollatorAlgorithm

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 com::sun::star::i18n::XCollator

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 com::sun::star::i18n::XCollator

long Field

index of the row or column in the table to be sorted; 0-based.

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".

boolean IsAscending

TRUE if data are sorted in ascending order, FALSE if in descending order.

boolean IsCaseSensitive

specifies if the case of letters is important when comparing entries.


The documentation for this struct was generated from the following file: