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 66 of file xmlnumfi.cxx.

Constructor & Destructor Documentation

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

Definition at line 287 of file xmlnumfi.cxx.

References SAL_WARN_IF.

Member Function Documentation

void SvXMLNumImpData::AddKey ( sal_uInt32  nKey,
const OUString &  rName,
bool  bRemoveAfterUse 

Definition at line 306 of file xmlnumfi.cxx.

References m_NameEntries, and SetUsed().

Referenced by SvXMLNumFormatContext::CreateAndInsert().

sal_uInt32 SvXMLNumImpData::GetKeyForName ( std::u16string_view  rName)

Definition at line 296 of file xmlnumfi.cxx.

References m_NameEntries, and NUMBERFORMAT_ENTRY_NOT_FOUND.

Referenced by SvXMLNumFormatContext::AddCondition().

const LocaleDataWrapper & SvXMLNumImpData::GetLocaleData ( LanguageType  nLang)
SvNumberFormatter* SvXMLNumImpData::GetNumberFormatter ( ) const
void SvXMLNumImpData::RemoveVolatileFormats ( )
void SvXMLNumImpData::SetUsed ( sal_uInt32  nKey)

Definition at line 331 of file xmlnumfi.cxx.

References m_NameEntries.

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

Member Data Documentation

std::vector<SvXMLNumFmtEntry> SvXMLNumImpData::m_NameEntries

Definition at line 70 of file xmlnumfi.cxx.

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

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

Definition at line 72 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

SvNumberFormatter* SvXMLNumImpData::pFormatter

Definition at line 68 of file xmlnumfi.cxx.

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

std::unique_ptr<LocaleDataWrapper> SvXMLNumImpData::pLocaleData

Definition at line 69 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

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