Methods' Details
|
- getByKey
-  
- com::sun::star::beans::XPropertySet
getByKey(
-
- Returns
-
a readonly NumberFormatProperties .
|
- queryKeys
-  
- sequence< long >
queryKeys(
-
- 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(
-
- Description
- finds a number format by its format string and returns its key.
|
- addNew
-  
- long
addNew(
-
- raises ( com::sun::star::util::MalformedNumberFormatException );
- Description
- adds a new number format to the list, using a format string.
|
- addNewConverted
-  
- long
addNewConverted(
-
- raises ( com::sun::star::util::MalformedNumberFormatException );
- 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(
-
- 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.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.