22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
26#include <config_options.h>
33class UNLESS_MERGELIBS(VCL_DLLPUBLIC) LongCurrencyFormatter :
public FormatterBase
36 virtual ~LongCurrencyFormatter()
override;
41 OUString
const & GetCurrencySymbol()
const;
43 void SetDecimalDigits( sal_uInt16 nDigits );
44 sal_uInt16 GetDecimalDigits()
const {
return mnDecimalDigits;}
46 void SetUserValue(
BigInt nNewValue );
54 LongCurrencyFormatter(
Edit* pEdit);
57 SAL_DLLPRIVATE
void ImpInit();
59 sal_uInt16 mnDecimalDigits;
63class UNLESS_MERGELIBS(VCL_DLLPUBLIC) LongCurrencyBox final :
public ComboBox,
public LongCurrencyFormatter
68 virtual bool EventNotify(
NotifyEvent& rNEvt )
override;
A widget used to choose from a list of items and which has an entry.
virtual void SetValue(tools::Long nNew) override
bool ImplLongCurrencyReformat(const OUString &rStr, BigInt const &nMin, BigInt const &nMax, sal_uInt16 nDecDigits, const LocaleDataWrapper &rLocaleDataWrapper, OUString &rOutStr, LongCurrencyFormatter const &rFormatter)