(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.