Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
 
| Methods' Details | 
| attachNumberFormatsSupplier | 
| getNumberFormatsSupplier | 
| detectNumberFormat 
| 
 
Descriptiondetects the number format in a string which contains a formatted number.
  |  | 
| convertStringToNumber 
| 
| double |  
| convertStringToNumber( | [in] long | nKey, |  
|  | [in] string | aString ) |  
| raises( | NotNumericException ); |  
 
Descriptionconverts 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 ); |  
 
Descriptionconverts a number into a string.
  |  | 
| queryColorForNumber 
| 
| Color |  
| queryColorForNumber( | [in] long | nKey, |  
|  | [in] double | fValue, |  
|  | [in] Color | aDefaultColor ); |  
 
Returnsthe 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 ); |  
 
Descriptionconverts a string into another string.
  |  | 
| queryColorForString 
| 
| Color |  
| queryColorForString( | [in] long | nKey, |  
|  | [in] string | aString, |  
|  | [in] Color | aDefaultColor ); |  
 
Returnsthe 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 ); |  
 
Descriptionconverts 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.