LibreOffice Module svl (master) 1
|
instead of every number formatter being a listener we have a registry which also handles one instance of the SysLocale options More...
Public Member Functions | |
SvNumberFormatterRegistry_Impl () | |
virtual | ~SvNumberFormatterRegistry_Impl () override |
void | Insert (SvNumberFormatter *pThis) |
void | Remove (SvNumberFormatter const *pThis) |
size_t | Count () const |
virtual void | ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override |
Public Member Functions inherited from utl::ConfigurationListener | |
virtual | ~ConfigurationListener () |
virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Private Attributes | |
std::vector< SvNumberFormatter * > | aFormatters |
SvtSysLocaleOptions | aSysLocaleOptions |
LanguageType | eSysLanguage |
instead of every number formatter being a listener we have a registry which also handles one instance of the SysLocale options
Definition at line 180 of file zforlist.cxx.
SvNumberFormatterRegistry_Impl::SvNumberFormatterRegistry_Impl | ( | ) |
Definition at line 202 of file zforlist.cxx.
References utl::ConfigurationBroadcaster::AddListener(), aSysLocaleOptions, and LANGUAGE_SYSTEM.
|
overridevirtual |
Definition at line 209 of file zforlist.cxx.
References aSysLocaleOptions, and utl::ConfigurationBroadcaster::RemoveListener().
|
overridevirtual |
Implements utl::ConfigurationListener.
Definition at line 222 of file zforlist.cxx.
References aFormatters, eSysLanguage, SvNumberFormatter::GetGlobalMutex(), MsLangId::getRealLanguage(), and LANGUAGE_SYSTEM.
Referenced by SvNumberFormatter::resetTheCurrencyTable().
|
inline |
Definition at line 196 of file zforlist.cxx.
References aFormatters.
Referenced by SvNumberFormatter::~SvNumberFormatter().
|
inline |
Definition at line 191 of file zforlist.cxx.
References aFormatters.
Referenced by SvNumberFormatter::ImpConstruct().
void SvNumberFormatterRegistry_Impl::Remove | ( | SvNumberFormatter const * | pThis | ) |
Definition at line 215 of file zforlist.cxx.
References aFormatters.
Referenced by SvNumberFormatter::~SvNumberFormatter().
|
private |
Definition at line 183 of file zforlist.cxx.
Referenced by ConfigurationChanged(), Count(), Insert(), and Remove().
|
private |
Definition at line 184 of file zforlist.cxx.
Referenced by SvNumberFormatterRegistry_Impl(), and ~SvNumberFormatterRegistry_Impl().
|
private |
Definition at line 185 of file zforlist.cxx.
Referenced by ConfigurationChanged().