LibreOffice Module unotools (master) 1
|
Public Member Functions | |
Impl () | |
OUString | GetFullName () const |
bool | IsTokenReadonly (UserOptToken nToken) const |
OUString | GetToken (UserOptToken nToken) const |
void | SetToken (UserOptToken nToken, OUString const &rNewToken) |
bool | GetBoolValue (UserOptToken nToken) const |
void | SetBoolValue (UserOptToken nToken, bool bNewValue) |
void | Notify () |
Public Member Functions inherited from utl::ConfigurationBroadcaster | |
void | AddListener (utl::ConfigurationListener *pListener) |
void | RemoveListener (utl::ConfigurationListener const *pListener) |
void | NotifyListeners (ConfigurationHints nHint) |
ConfigurationBroadcaster () | |
ConfigurationBroadcaster (ConfigurationBroadcaster const &) | |
virtual | ~ConfigurationBroadcaster () |
ConfigurationBroadcaster & | operator= (ConfigurationBroadcaster const &other) |
virtual void | BlockBroadcasts (bool bBlock) |
Private Member Functions | |
template<typename ValueType > | |
ValueType | GetValue_Impl (UserOptToken nToken) const |
template<typename ValueType > | |
void | SetValue_Impl (UserOptToken nToken, ValueType const &rNewValue) |
Private Attributes | |
uno::Reference< util::XChangesListener > | m_xChangeListener |
uno::Reference< container::XNameAccess > | m_xCfg |
uno::Reference< beans::XPropertySet > | m_xData |
Definition at line 87 of file useroptions.cxx.
SvtUserOptions::Impl::Impl | ( | ) |
Definition at line 130 of file useroptions.cxx.
References DBG_UNHANDLED_EXCEPTION, comphelper::getProcessComponentContext(), m_xCfg, m_xChangeListener, m_xData, comphelper::ConfigurationHelper::openConfig(), and comphelper::Standard.
bool SvtUserOptions::Impl::GetBoolValue | ( | UserOptToken | nToken | ) | const |
Definition at line 202 of file useroptions.cxx.
References nToken.
OUString SvtUserOptions::Impl::GetFullName | ( | ) | const |
Definition at line 212 of file useroptions.cxx.
References FathersName, FirstName, LanguageTag::getLanguageType(), SvtUserOptions::GetToken(), SvtSysLocale::GetUILanguageTag(), MsLangId::isFamilyNameFirst(), LANGUAGE_RUSSIAN, LastName, and o3tl::trim().
OUString SvtUserOptions::Impl::GetToken | ( | UserOptToken | nToken | ) | const |
Definition at line 192 of file useroptions.cxx.
References nToken.
|
private |
Definition at line 162 of file useroptions.cxx.
References DBG_UNHANDLED_EXCEPTION, nToken, and vOptionNames.
bool SvtUserOptions::Impl::IsTokenReadonly | ( | UserOptToken | nToken | ) | const |
Definition at line 253 of file useroptions.cxx.
References nToken, and vOptionNames.
void SvtUserOptions::Impl::Notify | ( | ) |
Definition at line 248 of file useroptions.cxx.
References NONE, and utl::ConfigurationBroadcaster::NotifyListeners().
Referenced by SvtUserOptions::ChangeListener::changesOccurred().
void SvtUserOptions::Impl::SetBoolValue | ( | UserOptToken | nToken, |
bool | bNewValue | ||
) |
Definition at line 207 of file useroptions.cxx.
References nToken.
void SvtUserOptions::Impl::SetToken | ( | UserOptToken | nToken, |
OUString const & | rNewToken | ||
) |
Definition at line 197 of file useroptions.cxx.
References nToken.
|
private |
Definition at line 178 of file useroptions.cxx.
References DBG_UNHANDLED_EXCEPTION, comphelper::ConfigurationHelper::flush(), nToken, and vOptionNames.
|
private |
Definition at line 103 of file useroptions.cxx.
Referenced by Impl().
|
private |
Definition at line 102 of file useroptions.cxx.
Referenced by Impl().
|
private |
Definition at line 104 of file useroptions.cxx.
Referenced by Impl().