Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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
for links to DTD of XML locale data files.

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

Apache Software Foundation

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

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