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

Public Member Functions

 SvXMLNumImpData (SvNumberFormatter *pFmt, const uno::Reference< uno::XComponentContext > &rxContext)
 
SvNumberFormatterGetNumberFormatter () const
 
const SvXMLTokenMapGetStylesElemTokenMap ()
 
const SvXMLTokenMapGetStyleElemTokenMap ()
 
const SvXMLTokenMapGetStyleAttrTokenMap ()
 
const SvXMLTokenMapGetStyleElemAttrTokenMap ()
 
const LocaleDataWrapperGetLocaleData (LanguageType nLang)
 
sal_uInt32 GetKeyForName (const OUString &rName)
 
void AddKey (sal_uInt32 nKey, const OUString &rName, bool bRemoveAfterUse)
 
void SetUsed (sal_uInt32 nKey)
 
void RemoveVolatileFormats ()
 

Private Attributes

SvNumberFormatterpFormatter
 
std::unique_ptr< SvXMLTokenMappStylesElemTokenMap
 
std::unique_ptr< SvXMLTokenMappStyleElemTokenMap
 
std::unique_ptr< SvXMLTokenMappStyleAttrTokenMap
 
std::unique_ptr< SvXMLTokenMappStyleElemAttrTokenMap
 
std::unique_ptr< LocaleDataWrapperpLocaleData
 
std::vector< SvXMLNumFmtEntry > m_NameEntries
 
uno::Reference< uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 65 of file xmlnumfi.cxx.

Constructor & Destructor Documentation

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

Definition at line 351 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 370 of file xmlnumfi.cxx.

References m_NameEntries, and SetUsed().

Referenced by SvXMLNumFormatContext::CreateAndInsert().

sal_uInt32 SvXMLNumImpData::GetKeyForName ( const OUString &  rName)

Definition at line 360 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
inline
const SvXMLTokenMap & SvXMLNumImpData::GetStyleAttrTokenMap ( )
const SvXMLTokenMap & SvXMLNumImpData::GetStyleElemAttrTokenMap ( )
const SvXMLTokenMap & SvXMLNumImpData::GetStyleElemTokenMap ( )
const SvXMLTokenMap & SvXMLNumImpData::GetStylesElemTokenMap ( )
void SvXMLNumImpData::RemoveVolatileFormats ( )
void SvXMLNumImpData::SetUsed ( sal_uInt32  nKey)

Definition at line 395 of file xmlnumfi.cxx.

References m_NameEntries.

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

Member Data Documentation

std::vector<SvXMLNumFmtEntry> SvXMLNumImpData::m_NameEntries
private

Definition at line 73 of file xmlnumfi.cxx.

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

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

Definition at line 75 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

SvNumberFormatter* SvXMLNumImpData::pFormatter
private

Definition at line 67 of file xmlnumfi.cxx.

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

std::unique_ptr<LocaleDataWrapper> SvXMLNumImpData::pLocaleData
private

Definition at line 72 of file xmlnumfi.cxx.

Referenced by GetLocaleData().

std::unique_ptr<SvXMLTokenMap> SvXMLNumImpData::pStyleAttrTokenMap
private

Definition at line 70 of file xmlnumfi.cxx.

Referenced by GetStyleAttrTokenMap().

std::unique_ptr<SvXMLTokenMap> SvXMLNumImpData::pStyleElemAttrTokenMap
private

Definition at line 71 of file xmlnumfi.cxx.

Referenced by GetStyleElemAttrTokenMap().

std::unique_ptr<SvXMLTokenMap> SvXMLNumImpData::pStyleElemTokenMap
private

Definition at line 69 of file xmlnumfi.cxx.

Referenced by GetStyleElemTokenMap().

std::unique_ptr<SvXMLTokenMap> SvXMLNumImpData::pStylesElemTokenMap
private

Definition at line 68 of file xmlnumfi.cxx.

Referenced by GetStylesElemTokenMap().


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