Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: util ::

interface XNumberFormatPreviewer

Base Interface
com::sun::star::uno::XInterface

Description
represents a number formatter, which can preview number formats without inserting them.
See also
NumberFormatter


Known Services which Export this Interface

com::sun::star::util::NumberFormatter specifies an object which can format numbers and strings.

Methods' Summary

convertNumberToPreviewString formats a value using a format string, without inserting a number format into the list.
queryPreviewColorForNumber returns the color which is to be used for a number.

Methods' Details

convertNumberToPreviewString
 
string
convertNumberToPreviewString(
[ in ] string aFormat,
[ in ] double fValue,
[ in ] com::sun::star::lang::Locale nLocale,
[ in ] boolean bAllowEnglish )
raises ( com::sun::star::util::MalformedNumberFormatException );

Description
formats a value using a format string, without inserting a number format into the list.
queryPreviewColorForNumber
 
com::sun::star::util::color
queryPreviewColorForNumber(
[ in ] string aFormat,
[ in ] double fValue,
[ in ] com::sun::star::lang::Locale nLocale,
[ in ] boolean bAllowEnglish,
[ in ] com::sun::star::util::color aDefaultColor )
raises ( com::sun::star::util::MalformedNumberFormatException );

Description
returns the color which is to be used for a number.

Top of Page