LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | List of all members
SvXMLNumImpData Class Reference
Collaboration diagram for SvXMLNumImpData:

Public Member Functions

 SvXMLNumImpData (SvNumberFormatter *pFmt, const uno::Reference< uno::XComponentContext > &rxContext)
SvNumberFormatterGetNumberFormatter () const
const LocaleDataWrapperGetLocaleData (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

std::unique_ptr< LocaleDataWrapperpLocaleData
std::vector< SvXMLNumFmtEntry > m_NameEntries
uno::Reference< uno::XComponentContext > m_xContext

Detailed Description

Definition at line 67 of file xmlnumfi.cxx.

Constructor & Destructor Documentation

◆ SvXMLNumImpData()

SvXMLNumImpData::SvXMLNumImpData ( SvNumberFormatter pFmt,
const uno::Reference< uno::XComponentContext > &  rxContext 

Definition at line 289 of file xmlnumfi.cxx.

References SAL_WARN_IF.

Member Function Documentation

◆ AddKey()

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().

◆ GetKeyForName()

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().

◆ GetLocaleData()

const LocaleDataWrapper & SvXMLNumImpData::GetLocaleData ( LanguageType  nLang)

◆ GetNumberFormatter()

SvNumberFormatter * SvXMLNumImpData::GetNumberFormatter ( ) const

◆ RemoveVolatileFormats()

void SvXMLNumImpData::RemoveVolatileFormats ( )

◆ SetUsed()

void SvXMLNumImpData::SetUsed ( sal_uInt32  nKey)

Definition at line 333 of file xmlnumfi.cxx.

References m_NameEntries.

Referenced by AddKey(), and SvXMLNumFormatContext::GetKey().

Member Data Documentation

◆ m_NameEntries

std::vector<SvXMLNumFmtEntry> SvXMLNumImpData::m_NameEntries

Definition at line 71 of file xmlnumfi.cxx.

Referenced by AddKey(), GetKeyForName(), RemoveVolatileFormats(), and SetUsed().

◆ m_xContext

uno::Reference< uno::XComponentContext > SvXMLNumImpData::m_xContext

Definition at line 73 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

◆ pFormatter

SvNumberFormatter* SvXMLNumImpData::pFormatter

Definition at line 69 of file xmlnumfi.cxx.

Referenced by GetLocaleData(), GetNumberFormatter(), and RemoveVolatileFormats().

◆ pLocaleData

std::unique_ptr<LocaleDataWrapper> SvXMLNumImpData::pLocaleData

Definition at line 70 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

The documentation for this class was generated from the following file: