Language
The Free and Open Productivity Suite
Methods' Details |
attachNumberFormatsSupplier
|
getNumberFormatsSupplier
|
detectNumberFormat
- Description
- detects the number format in a string which contains a formatted number.
|
|
convertStringToNumber
double |
convertStringToNumber( |
[in] long |
nKey, |
| [in] string |
aString ) |
raises( |
NotNumericException ); |
- Description
- converts a string which contains a formatted number into a number.
If this is a text format, the string will not be converted.
|
|
convertNumberToString
string |
convertNumberToString( |
[in] long |
nKey, |
| [in] double |
fValue ); |
- Description
- converts a number into a string.
|
|
queryColorForNumber
Color |
queryColorForNumber( |
[in] long |
nKey, |
| [in] double |
fValue, |
| [in] Color |
aDefaultColor ); |
- Returns
- the color which is specified for the given value in the number format,
which is otherwise the value of aDefaultColor.
|
|
formatString
string |
formatString( |
[in] long |
nKey, |
| [in] string |
aString ); |
- Description
- converts a string into another string.
|
|
queryColorForString
Color |
queryColorForString( |
[in] long |
nKey, |
| [in] string |
aString, |
| [in] Color |
aDefaultColor ); |
- Returns
- the color which is specified for the given string in the number format,
which is otherwise the value of aDefaultColor.
|
|
getInputString
string |
getInputString( |
[in] long |
nKey, |
| [in] double |
fValue ); |
- Description
- converts a number into a string with the specified format.
This string can always be converted back to a number using the same
format.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.