Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

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

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.