:: com :: sun :: star :: i18n ::

struct FormatElement
Description
One number format code and its attributes, returned in a sequence by XLocaleData::getAllFormats() .

Contains raw data defined in the XML locale data files.

See also
XLocaleData

Elements' Summary
formatCode The format code, for example, "YYYY-MM-DD".  
formatName A name or description that is displayed in the number formatter dialog.  
formatKey A unique (within one locale) identifier.  
formatType Type may be one of "short", "medium", "long".  
formatUsage Usage category, for example, "DATE" or "FIXED_NUMBER", corresponding with KNumberFormatUsage values.  
formatIndex The index used by the number formatter, predefined values corresponding with NumberFormatIndex values.  
isDefault If a format code is the default code of a formatType group.  
Elements' Details
formatCode
string formatCode;
Description
The format code, for example, "YYYY-MM-DD".
formatName
string formatName;
Description
A name or description that is displayed in the number formatter dialog.
formatKey
string formatKey;
Description
A unique (within one locale) identifier.
formatType
string formatType;
Description
Type may be one of "short", "medium", "long".
formatUsage
string formatUsage;
Description
Usage category, for example, "DATE" or "FIXED_NUMBER", corresponding with KNumberFormatUsage values.
formatIndex
short formatIndex;
Description
The index used by the number formatter, predefined values corresponding with NumberFormatIndex values.
isDefault
boolean isDefault;
Description
If a format code is the default code of a formatType group.
Top of Page