Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

struct TableSortField
Description
describes how to sort a single field (row/column) in a tables sort descriptor.
Since
OOo 1.1.2
See also
TableSortDescriptor2

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.