LibreOffice Module xmloff (master) 1
|
Public Member Functions | |
SvXMLNumImpData (SvNumberFormatter *pFmt, const uno::Reference< uno::XComponentContext > &rxContext) | |
SvNumberFormatter * | GetNumberFormatter () const |
const LocaleDataWrapper & | GetLocaleData (LanguageType nLang) |
sal_uInt32 | GetKeyForName (std::u16string_view rName) |
void | AddKey (sal_uInt32 nKey, const OUString &rName, bool bRemoveAfterUse) |
void | SetUsed (sal_uInt32 nKey) |
void | RemoveVolatileFormats () |
Private Attributes | |
SvNumberFormatter * | pFormatter |
std::unique_ptr< LocaleDataWrapper > | pLocaleData |
std::vector< SvXMLNumFmtEntry > | m_NameEntries |
uno::Reference< uno::XComponentContext > | m_xContext |
Definition at line 67 of file xmlnumfi.cxx.
SvXMLNumImpData::SvXMLNumImpData | ( | SvNumberFormatter * | pFmt, |
const uno::Reference< uno::XComponentContext > & | rxContext | ||
) |
Definition at line 289 of file xmlnumfi.cxx.
References SAL_WARN_IF.
void SvXMLNumImpData::AddKey | ( | sal_uInt32 | nKey, |
const OUString & | rName, | ||
bool | bRemoveAfterUse | ||
) |
Definition at line 308 of file xmlnumfi.cxx.
References m_NameEntries, and SetUsed().
Referenced by SvXMLNumFormatContext::CreateAndInsert().
sal_uInt32 SvXMLNumImpData::GetKeyForName | ( | std::u16string_view | rName | ) |
Definition at line 298 of file xmlnumfi.cxx.
References m_NameEntries, and NUMBERFORMAT_ENTRY_NOT_FOUND.
Referenced by SvXMLNumFormatContext::AddCondition().
const LocaleDataWrapper & SvXMLNumImpData::GetLocaleData | ( | LanguageType | nLang | ) |
Definition at line 368 of file xmlnumfi.cxx.
References SvNumberFormatter::GetComponentContext(), m_xContext, pFormatter, and pLocaleData.
Referenced by SvXMLNumFormatContext::AddNumber(), and SvXMLNumFormatContext::GetLocaleData().
|
inline |
Definition at line 80 of file xmlnumfi.cxx.
References pFormatter.
Referenced by SvXMLNumFormatContext::AddColor(), SvXMLNumFormatContext::AddCondition(), SvXMLNumFormatContext::AddCurrency(), SvXMLNumFormatContext::AddNfKeyword(), SvXMLNumFormatContext::AddNumber(), SvXMLNumFormatContext::CreateAndInsert(), and SvXMLNumFormatContext::ReplaceNfKeyword().
void SvXMLNumImpData::RemoveVolatileFormats | ( | ) |
Definition at line 348 of file xmlnumfi.cxx.
References SvNumberFormatter::DeleteEntry(), SvNumberFormatter::GetEntry(), SvNumberformat::GetType(), m_NameEntries, and pFormatter.
void SvXMLNumImpData::SetUsed | ( | sal_uInt32 | nKey | ) |
Definition at line 333 of file xmlnumfi.cxx.
References m_NameEntries.
Referenced by AddKey(), and SvXMLNumFormatContext::GetKey().
|
private |
Definition at line 71 of file xmlnumfi.cxx.
Referenced by AddKey(), GetKeyForName(), RemoveVolatileFormats(), and SetUsed().
|
private |
Definition at line 73 of file xmlnumfi.cxx.
Referenced by GetLocaleData().
|
private |
Definition at line 69 of file xmlnumfi.cxx.
Referenced by GetLocaleData(), GetNumberFormatter(), and RemoveVolatileFormats().
|
private |
Definition at line 70 of file xmlnumfi.cxx.
Referenced by GetLocaleData().