19#ifndef INCLUDED_SW_INC_SWSTYLENAMEMAPPER_HXX
20#define INCLUDED_SW_INC_SWSTYLENAMEMAPPER_HXX
23#include <rtl/ustring.hxx>
27#include <unordered_map>
85#ifdef _NEED_TO_DEBUG_MAPPING
86 static void testNameTable(
SwGetPoolIdFromName const nFamily, sal_uInt16
const nStartIndex, sal_uInt16
const nEndIndex );
92 static void FillUIName(
const OUString& rName, OUString& rFillName,
96 static const OUString&
GetProgName(
const OUString& rName,
98 static void FillProgName(
const OUString& rName, OUString& rFillName,
104 const OUString& rName);
109 const OUString& rName);
125 const OUString& rExtraUIName);
std::unordered_map< OUString, sal_uInt16 > NameToIdHash
This class holds all data about the names of styles used in the user interface (UI names....
static const std::vector< OUString > & GetListsProgNameArray()
static const std::vector< OUString > & GetHTMLProgNameArray()
static const std::vector< OUString > & GetCellStyleProgNameArray()
returns an empty array because Cell Names aren't translated
static const std::vector< OUString > & GetFrameFormatProgNameArray()
static const std::vector< OUString > & GetCellStyleUINameArray()
returns an empty array because Cell Names aren't translated
static const std::vector< OUString > & GetPageDescProgNameArray()
static const NameToIdHash & getHashTable(SwGetPoolIdFromName, bool bProgName)
static const std::vector< OUString > & GetHTMLChrFormatProgNameArray()
static SW_DLLPUBLIC sal_uInt16 GetPoolIdFromUIName(const OUString &rName, SwGetPoolIdFromName)
static const std::vector< OUString > & GetChrFormatUINameArray()
static const std::vector< OUString > & GetTableStyleUINameArray()
static const std::vector< OUString > & GetDocProgNameArray()
static const std::vector< OUString > & GetExtraUINameArray()
static const std::vector< OUString > & GetHTMLUINameArray()
static const std::vector< OUString > & GetListsUINameArray()
static const OUString & GetProgName(const OUString &rName, SwGetPoolIdFromName)
static const std::vector< OUString > & GetPageDescUINameArray()
static const std::vector< OUString > & GetNumRuleUINameArray()
static const OUString & GetUIName(const OUString &rName, SwGetPoolIdFromName)
static const std::vector< OUString > & GetHTMLChrFormatUINameArray()
static void fillNameFromId(sal_uInt16 nId, OUString &rName, bool bProgName)
static const std::vector< OUString > & GetTableStyleProgNameArray()
static sal_uInt16 GetPoolIdFromProgName(const OUString &rName, SwGetPoolIdFromName)
static void FillProgName(const OUString &rName, OUString &rFillName, SwGetPoolIdFromName)
static const std::vector< OUString > & GetTextProgNameArray()
static const std::vector< OUString > & GetRegisterProgNameArray()
static SW_DLLPUBLIC const OUString & GetSpecialExtraProgName(const OUString &rExtraUIName)
static const std::vector< OUString > & GetChrFormatProgNameArray()
static const std::vector< OUString > & GetFrameFormatUINameArray()
static const std::vector< OUString > & GetTextUINameArray()
static const std::vector< OUString > & GetRegisterUINameArray()
static const OUString & getNameFromId(sal_uInt16 nId, const OUString &rName, bool bProgName)
static const std::vector< OUString > & GetNumRuleProgNameArray()
static const std::vector< OUString > & GetExtraProgNameArray()
static const std::vector< OUString > & GetDocUINameArray()
static void FillUIName(const OUString &rName, OUString &rFillName, SwGetPoolIdFromName)
static const OUString & GetSpecialExtraUIName(const OUString &rExtraProgName)