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

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

Definition at line 405 of file SwStyleNameMapper.cxx.

References getNameFromId().

Referenced by FillProgName(), and FillUIName().

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

Definition at line 425 of file SwStyleNameMapper.cxx.

References fillNameFromId().

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

Definition at line 289 of file SwStyleNameMapper.cxx.

References aName, ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), SwResId(), and USHRT_MAX.

Referenced by SwFrameProperties_Impl::AnyToItemSet(), SwGraphicProperties_Impl::AnyToItemSet(), SwTableProperties_Impl::ApplyTableAttr(), SwXMLItemSetStyleContext_Impl::ConnectPageDesc(), SwTextShell::ExecSetNumber(), FillCharStyleListBox(), sw::XStyleFamily::getByIndex(), sw::XStyleFamily::getByName(), SwXTextCellStyle::getName(), SwDocStyleSheet::GetParent(), sw::XStyleFamily::hasByName(), SwInsertDBColAutoPilot::ImplCommit(), sw::XStyleFamily::insertByName(), SwModule::InsertEnv(), lcl_getCharFormat(), lcl_GetCountOrName< SfxStyleFamily::Char >(), lcl_GetFrameFormat(), lcl_GetPageDesc(), lcl_GetParaStyle(), lcl_setCharStyle(), lcl_setDropcapCharStyle(), lcl_setRubyCharstyle(), lcl_SetSpecialProperty(), SwOutlineTabDialog::Ok(), SwTemplateDlgController::PageCreated(), SwSvxNumBulletTabDialog::PageCreated(), SwFormatINetFormat::PutValue(), SwFormatINetFormat::QueryValue(), SwWW8ImplReader::Read_SubF_Ruby(), sw::XStyleFamily::removeByName(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwEndNoteOptionPage::Reset(), SwCharURLPage::Reset(), SwXStyle::setParentStyle(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXTextDefaults::setPropertyValue(), SwXDocumentIndex::setPropertyValue(), SwXStyle::SetPropertyValue(), SwXTextView::setRubyList(), SwCaptionOptPage::SwCaptionOptPage(), and SwFormatINetFormat::SwFormatINetFormat().

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

Definition at line 412 of file SwStyleNameMapper.cxx.

References fillNameFromId().

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

returns an empty array because Cell Names aren't translated

Definition at line 756 of file SwStyleNameMapper.cxx.

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

returns an empty array because Cell Names aren't translated

Definition at line 458 of file SwStyleNameMapper.cxx.

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

Definition at line 644 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 609 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 539 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 630 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

const std::vector< OUString > & SwStyleNameMapper::GetFrameFormatUINameArray ( )
static
const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName  eFlags,
bool  bProgName 
)
staticprivate
const std::vector< OUString > & SwStyleNameMapper::GetHTMLChrFormatProgNameArray ( )
static

Definition at line 668 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 618 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 491 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

const std::vector< OUString > & SwStyleNameMapper::GetListsUINameArray ( )
static
const OUString & SwStyleNameMapper::getNameFromId ( sal_uInt16  nId,
const OUString &  rName,
bool  bProgName 
)
staticprivate

Definition at line 311 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(), 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_POOLTABSTYLE_BEGIN, RES_POOLTABSTYLE_END, and USER_FMT.

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

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

Definition at line 701 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 684 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

const std::vector< OUString > & SwStyleNameMapper::GetPageDescUINameArray ( )
static
sal_uInt16 SwStyleNameMapper::GetPoolIdFromProgName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static
sal_uInt16 SwStyleNameMapper::GetPoolIdFromUIName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static
const OUString & SwStyleNameMapper::GetProgName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static
const OUString & SwStyleNameMapper::GetProgName ( sal_uInt16  nId,
const OUString &  rName 
)
static

Definition at line 432 of file SwStyleNameMapper.cxx.

References getNameFromId().

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

Definition at line 566 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

const std::vector< OUString > & SwStyleNameMapper::GetRegisterUINameArray ( )
static
const OUString & SwStyleNameMapper::GetSpecialExtraProgName ( const OUString &  rExtraUIName)
static
const OUString & SwStyleNameMapper::GetSpecialExtraUIName ( const OUString &  rExtraProgName)
static

Definition at line 769 of file SwStyleNameMapper.cxx.

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

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

Definition at line 718 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

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

Definition at line 2624 of file DocumentStylePoolManager.cxx.

References lcl_NewUINameArray(), and SAL_N_ELEMENTS.

Referenced by getNameFromId().

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

Definition at line 464 of file SwStyleNameMapper.cxx.

Referenced by getNameFromId().

const std::vector< OUString > & SwStyleNameMapper::GetTextUINameArray ( )
static
const OUString & SwStyleNameMapper::GetUIName ( const OUString &  rName,
SwGetPoolIdFromName  eFlags 
)
static
const OUString & SwStyleNameMapper::GetUIName ( sal_uInt16  nId,
const OUString &  rName 
)
static

Definition at line 418 of file SwStyleNameMapper.cxx.

References getNameFromId().

Friends And Related Function Documentation

void FinitCore ( )
friend

Definition at line 672 of file init.cxx.

void InitCore ( )
friend

Definition at line 455 of file init.cxx.


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