Methods' Summary |
getByKey |
|
queryKeys |
|
queryKey |
finds a number format by its format string and returns its key.
|
addNew |
adds a new number format to the list, using a format string.
|
addNewConverted |
adds a new number format to the list, using a format
string in a different locale than the desired locale of the
resulting number format.
|
removeByKey |
removes a number format from the list.
|
generateFormat |
generates a format string from several parameters without
creating an actual number format.
|
Methods' Details |
getByKey
|
queryKeys
sequence< long > |
queryKeys( |
[in] short |
nType, |
| [in] ::com::sun::star::lang::Locale |
nLocale, |
| [in] boolean |
bCreate ); |
- Returns
- a sequence of the keys of all number formats with the specified type and language.
- Parameter nType
- the type of number formats to return. Must be one of the
NumberFormat constants.
- Parameter nLanguage
- the language of number formats to return.
- Parameter bCreate
- true: create new entries if no formats for the selected language exist
false: return an empty list if no formats for the selected language exist
|
|
queryKey
long |
queryKey( |
[in] string |
aFormat, |
| [in] ::com::sun::star::lang::Locale |
nLocale, |
| [in] boolean |
bScan ); |
- Description
- finds a number format by its format string and returns its key.
|
|
addNew
- Description
- adds a new number format to the list, using a format string.
|
|
addNewConverted
- Description
- adds a new number format to the list, using a format
string in a different locale than the desired locale of the
resulting number format.
|
|
removeByKey
void |
removeByKey( |
[in] long |
nKey ); |
- Description
- removes a number format from the list.
|
|
generateFormat
string |
generateFormat( |
[in] long |
nBaseKey, |
| [in] ::com::sun::star::lang::Locale |
nLocale, |
| [in] boolean |
bThousands, |
| [in] boolean |
bRed, |
| [in] short |
nDecimals, |
| [in] short |
nLeading ); |
- Description
- generates a format string from several parameters without
creating an actual number format.
|
|
Top of Page
Copyright © 2000, 2014 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.