LibreOffice Module sw (master) 1
Static Public Member Functions | Static Private Member Functions | Friends | List of all members
SwStyleNameMapper Class Referencefinal

#include <SwStyleNameMapper.hxx>

Static Public Member Functions

static const OUString & GetUIName (const OUString &rName, SwGetPoolIdFromName)
 
static void FillUIName (const OUString &rName, OUString &rFillName, SwGetPoolIdFromName)
 
static const OUString & GetProgName (const OUString &rName, SwGetPoolIdFromName)
 
static void FillProgName (const OUString &rName, OUString &rFillName, SwGetPoolIdFromName)
 
static SW_DLLPUBLIC void FillUIName (sal_uInt16 nId, OUString &rFillName)
 
static SW_DLLPUBLIC const OUString & GetUIName (sal_uInt16 nId, const OUString &rName)
 
static void FillProgName (sal_uInt16 nId, OUString &rFillName)
 
static SW_DLLPUBLIC const OUString & GetProgName (sal_uInt16 nId, const OUString &rName)
 
static SW_DLLPUBLIC sal_uInt16 GetPoolIdFromUIName (const OUString &rName, SwGetPoolIdFromName)
 
static sal_uInt16 GetPoolIdFromProgName (const OUString &rName, SwGetPoolIdFromName)
 
static SW_DLLPUBLIC const OUString & GetSpecialExtraProgName (const OUString &rExtraUIName)
 
static const OUString & GetSpecialExtraUIName (const OUString &rExtraProgName)
 
static const std::vector< OUString > & GetTextUINameArray ()
 
static const std::vector< OUString > & GetListsUINameArray ()
 
static const std::vector< OUString > & GetExtraUINameArray ()
 
static const std::vector< OUString > & GetRegisterUINameArray ()
 
static const std::vector< OUString > & GetDocUINameArray ()
 
static const std::vector< OUString > & GetHTMLUINameArray ()
 
static const std::vector< OUString > & GetFrameFormatUINameArray ()
 
static const std::vector< OUString > & GetChrFormatUINameArray ()
 
static const std::vector< OUString > & GetHTMLChrFormatUINameArray ()
 
static const std::vector< OUString > & GetPageDescUINameArray ()
 
static const std::vector< OUString > & GetNumRuleUINameArray ()
 
static const std::vector< OUString > & GetTableStyleUINameArray ()
 
static const std::vector< OUString > & GetCellStyleUINameArray ()
 returns an empty array because Cell Names aren't translated More...
 
static const std::vector< OUString > & GetTextProgNameArray ()
 
static const std::vector< OUString > & GetListsProgNameArray ()
 
static const std::vector< OUString > & GetExtraProgNameArray ()
 
static const std::vector< OUString > & GetRegisterProgNameArray ()
 
static const std::vector< OUString > & GetDocProgNameArray ()
 
static const std::vector< OUString > & GetHTMLProgNameArray ()
 
static const std::vector< OUString > & GetFrameFormatProgNameArray ()
 
static const std::vector< OUString > & GetChrFormatProgNameArray ()
 
static const std::vector< OUString > & GetHTMLChrFormatProgNameArray ()
 
static const std::vector< OUString > & GetPageDescProgNameArray ()
 
static const std::vector< OUString > & GetNumRuleProgNameArray ()
 
static const std::vector< OUString > & GetTableStyleProgNameArray ()
 
static const std::vector< OUString > & GetCellStyleProgNameArray ()
 returns an empty array because Cell Names aren't translated More...
 

Static Private Member Functions

static void fillNameFromId (sal_uInt16 nId, OUString &rName, bool bProgName)
 
static const OUString & getNameFromId (sal_uInt16 nId, const OUString &rName, bool bProgName)
 
static const NameToIdHashgetHashTable (SwGetPoolIdFromName, bool bProgName)
 

Friends

void InitCore ()
 
void FinitCore ()
 

Detailed Description

Definition at line 76 of file SwStyleNameMapper.hxx.

Member Function Documentation

◆ fillNameFromId()

void SwStyleNameMapper::fillNameFromId ( sal_uInt16  nId,
OUString &  rName,
bool  bProgName 
)
staticprivate

Definition at line 403 of file SwStyleNameMapper.cxx.

References getNameFromId(), and nId.

Referenced by FillProgName(), and FillUIName().

◆ FillProgName() [1/2]

void SwStyleNameMapper::FillProgName ( const OUString &  rName,
OUString &  rFillName,
SwGetPoolIdFromName  eFlags 
)
static

◆ FillProgName() [2/2]

void SwStyleNameMapper::FillProgName ( sal_uInt16  nId,
OUString &  rFillName 
)
static

Definition at line 423 of file SwStyleNameMapper.cxx.

References fillNameFromId(), and nId.

◆ FillUIName() [1/2]

void SwStyleNameMapper::FillUIName ( const OUString &  rName,
OUString &  rFillName,
SwGetPoolIdFromName  eFlags 
)
static

◆ FillUIName() [2/2]

void SwStyleNameMapper::FillUIName ( sal_uInt16  nId,
OUString &  rFillName 
)
static

Definition at line 410 of file SwStyleNameMapper.cxx.

References fillNameFromId(), and nId.

◆ GetCellStyleProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetCellStyleProgNameArray ( )
static

returns an empty array because Cell Names aren't translated

Definition at line 757 of file SwStyleNameMapper.cxx.

◆ GetCellStyleUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetCellStyleUINameArray ( )
static

returns an empty array because Cell Names aren't translated

Definition at line 456 of file SwStyleNameMapper.cxx.

◆ GetChrFormatProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetChrFormatProgNameArray ( )
static

Definition at line 644 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetChrFormatUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetChrFormatUINameArray ( )
static

◆ GetDocProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetDocProgNameArray ( )
static

Definition at line 608 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetDocUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetDocUINameArray ( )
static

◆ GetExtraProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetExtraProgNameArray ( )
static

Definition at line 537 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetExtraUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetExtraUINameArray ( )
static

◆ GetFrameFormatProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetFrameFormatProgNameArray ( )
static

Definition at line 630 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetFrameFormatUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetFrameFormatUINameArray ( )
static

◆ getHashTable()

const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName  eFlags,
bool  bProgName 
)
staticprivate

◆ GetHTMLChrFormatProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetHTMLChrFormatProgNameArray ( )
static

Definition at line 668 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetHTMLChrFormatUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetHTMLChrFormatUINameArray ( )
static

◆ GetHTMLProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetHTMLProgNameArray ( )
static

Definition at line 618 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetHTMLUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetHTMLUINameArray ( )
static

◆ GetListsProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetListsProgNameArray ( )
static

Definition at line 489 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetListsUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetListsUINameArray ( )
static

◆ getNameFromId()

const OUString & SwStyleNameMapper::getNameFromId ( sal_uInt16  nId,
const OUString &  rName,
bool  bProgName 
)
staticprivate

Definition at line 309 of file SwStyleNameMapper.cxx.

References COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_GET_RANGE_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, GetChrFormatProgNameArray(), GetChrFormatUINameArray(), GetDocProgNameArray(), GetDocUINameArray(), GetExtraProgNameArray(), GetExtraUINameArray(), GetFrameFormatProgNameArray(), GetFrameFormatUINameArray(), GetHTMLChrFormatProgNameArray(), GetHTMLChrFormatUINameArray(), GetHTMLProgNameArray(), GetHTMLUINameArray(), GetListsProgNameArray(), GetListsUINameArray(), GetNumRuleProgNameArray(), GetNumRuleUINameArray(), GetPageDescProgNameArray(), GetPageDescUINameArray(), GetRegisterProgNameArray(), GetRegisterUINameArray(), GetTableStyleProgNameArray(), GetTableStyleUINameArray(), GetTextProgNameArray(), GetTextUINameArray(), nId, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, POOLGRP_NUMRULE, POOLGRP_PAGEDESC, POOLGRP_TABSTYLE, RES_POOLCHR_HTML_BEGIN, RES_POOLCHR_HTML_END, RES_POOLCHR_NORMAL_BEGIN, RES_POOLCHR_NORMAL_END, RES_POOLCOLL_DOC_BEGIN, RES_POOLCOLL_DOC_END, RES_POOLCOLL_EXTRA_BEGIN, RES_POOLCOLL_EXTRA_END, RES_POOLCOLL_HTML_BEGIN, RES_POOLCOLL_HTML_END, RES_POOLCOLL_LISTS_BEGIN, RES_POOLCOLL_LISTS_END, RES_POOLCOLL_REGISTER_BEGIN, RES_POOLCOLL_REGISTER_END, RES_POOLCOLL_TEXT_BEGIN, RES_POOLCOLL_TEXT_END, RES_POOLFRM_BEGIN, RES_POOLFRM_END, RES_POOLNUMRULE_BEGIN, RES_POOLNUMRULE_END, RES_POOLPAGE_BEGIN, RES_POOLPAGE_END, RES_POOLTABLESTYLE_BEGIN, RES_POOLTABLESTYLE_END, and USER_FMT.

Referenced by fillNameFromId(), GetProgName(), and GetUIName().

◆ GetNumRuleProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetNumRuleProgNameArray ( )
static

Definition at line 701 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetNumRuleUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetNumRuleUINameArray ( )
static

◆ GetPageDescProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetPageDescProgNameArray ( )
static

Definition at line 684 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetPageDescUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetPageDescUINameArray ( )
static

◆ GetPoolIdFromProgName()

sal_uInt16 SwStyleNameMapper::GetPoolIdFromProgName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static

◆ GetPoolIdFromUIName()

sal_uInt16 SwStyleNameMapper::GetPoolIdFromUIName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static

◆ GetProgName() [1/2]

const OUString & SwStyleNameMapper::GetProgName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static

◆ GetProgName() [2/2]

const OUString & SwStyleNameMapper::GetProgName ( sal_uInt16  nId,
const OUString &  rName 
)
static

Definition at line 430 of file SwStyleNameMapper.cxx.

References getNameFromId(), and nId.

◆ GetRegisterProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetRegisterProgNameArray ( )
static

Definition at line 565 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetRegisterUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetRegisterUINameArray ( )
static

◆ GetSpecialExtraProgName()

const OUString & SwStyleNameMapper::GetSpecialExtraProgName ( const OUString &  rExtraUIName)
static

◆ GetSpecialExtraUIName()

const OUString & SwStyleNameMapper::GetSpecialExtraUIName ( const OUString &  rExtraProgName)
static

Definition at line 770 of file SwStyleNameMapper.cxx.

Referenced by lcl_GetIdByName(), and SwXDocumentIndex::setPropertyValue().

◆ GetTableStyleProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetTableStyleProgNameArray ( )
static

Definition at line 719 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetTableStyleUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetTableStyleUINameArray ( )
static

◆ GetTextProgNameArray()

const std::vector< OUString > & SwStyleNameMapper::GetTextProgNameArray ( )
static

Definition at line 462 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

◆ GetTextUINameArray()

const std::vector< OUString > & SwStyleNameMapper::GetTextUINameArray ( )
static

◆ GetUIName() [1/2]

const OUString & SwStyleNameMapper::GetUIName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static

◆ GetUIName() [2/2]

const OUString & SwStyleNameMapper::GetUIName ( sal_uInt16  nId,
const OUString &  rName 
)
static

Definition at line 416 of file SwStyleNameMapper.cxx.

References getNameFromId(), and nId.

Friends And Related Function Documentation

◆ FinitCore

void FinitCore ( )
friend

Definition at line 684 of file init.cxx.

◆ InitCore

void InitCore ( )
friend

Definition at line 459 of file init.cxx.


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