(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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.

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.