LibreOffice Module sw (master) 1
|
#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 NameToIdHash & | getHashTable (SwGetPoolIdFromName, bool bProgName) |
Friends | |
void | InitCore () |
void | FinitCore () |
Definition at line 76 of file SwStyleNameMapper.hxx.
|
staticprivate |
Definition at line 403 of file SwStyleNameMapper.cxx.
References getNameFromId(), and nId.
Referenced by FillProgName(), and FillUIName().
|
static |
Definition at line 252 of file SwStyleNameMapper.cxx.
References ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), GetPoolIdFromUIName(), nId, and SwResId().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwXMLExport::ExportFormat(), SwXMLExport::ExportTable(), SwStyleSheetIterator::First(), SwXDocumentIndex::StyleAccess_Impl::getByIndex(), SwXDocumentIndex::TokenAccess_Impl::getByIndex(), SwUnoCursorHelper::GetCurPageStyle(), SwUnoCursorHelper::getCursorPropertyValue(), SwXNumberingRules::getName(), SwXTextTableStyle::getName(), SwXTextCellStyle::getName(), SwXNumberingRules::GetNumberingRuleByIndex(), SwXNumberingRules::GetPropertiesForNumFormat(), SwXFootnoteProperties::getPropertyValue(), SwXEndnoteProperties::getPropertyValue(), SwXLineNumberingProperties::getPropertyValue(), SwXTextTable::getPropertyValue(), SwXDocumentIndex::getPropertyValue(), SwXTextView::getRubyList(), lcl_FindCellStyle(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), SwGetRefField::QueryValue(), SwFormatCharFormat::QueryValue(), SwFormatINetFormat::QueryValue(), SwFormatPageDesc::QueryValue(), SwFormatRuby::QueryValue(), AttrSetHandleHelper::SetParent(), SwXNumberingRules::SetPropertiesToNumFormat(), and SwDocShell::StateStyleSheet().
|
static |
Definition at line 423 of file SwStyleNameMapper.cxx.
References fillNameFromId(), and nId.
|
static |
Definition at line 287 of file SwStyleNameMapper.cxx.
References aName, ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), nId, and SwResId().
Referenced by SwTextShell::ExecSetNumber(), SwXTextCellStyle::GetBoxAutoFormat(), SwDocStyleSheet::GetParent(), SwInsertDBColAutoPilot::ImplCommit(), SwModule::InsertEnv(), lcl_getCharFormat(), lcl_GetFrameFormat(), lcl_GetPageDesc(), lcl_GetParaStyle(), lcl_setCharStyle(), lcl_setDropcapCharStyle(), lcl_setRubyCharstyle(), lcl_SetSpecialProperty(), SwUnoCursorHelper::makeRedline(), SwXMLTableContext::MakeTable(), SwOutlineTabDialog::Ok(), SwTemplateDlgController::PageCreated(), SwSvxNumBulletTabDialog::PageCreated(), SwFormatINetFormat::PutValue(), SwFormatINetFormat::QueryValue(), SwWW8ImplReader::Read_SubF_Ruby(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwEndNoteOptionPage::Reset(), SwCharURLPage::Reset(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXTextTable::setPropertyValue(), SwXTextDefaults::setPropertyValue(), SwXDocumentIndex::setPropertyValue(), SwXTextView::setRubyList(), SwCaptionOptPage::SwCaptionOptPage(), and SwFormatINetFormat::SwFormatINetFormat().
|
static |
Definition at line 410 of file SwStyleNameMapper.cxx.
References fillNameFromId(), and nId.
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 757 of file SwStyleNameMapper.cxx.
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 456 of file SwStyleNameMapper.cxx.
|
static |
Definition at line 644 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2698 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCHR_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 608 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2656 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_DOC_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 537 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2628 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_EXTRA_ARY.
Referenced by SwStyleSheetIterator::First(), getNameFromId(), and SwXFieldMaster::setPropertyValue().
|
static |
Definition at line 630 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2684 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLFRM_ARY.
Referenced by SwStyleSheetIterator::First(), getNameFromId(), and SwView::InsertGraphicDlg().
|
staticprivate |
Definition at line 191 of file SwStyleNameMapper.cxx.
References CellStyle, ChrFmt, FrmFmt, NumRule, PageDesc, 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, TabStyle, and TxtColl.
Referenced by GetPoolIdFromProgName(), and GetPoolIdFromUIName().
|
static |
Definition at line 668 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2712 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCHR_HTML_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 618 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2670 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_HTML_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 489 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2614 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_LISTS_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
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().
|
static |
Definition at line 701 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2740 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLNUMRULE_NUM_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 684 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2726 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLPAGE_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 445 of file SwStyleNameMapper.cxx.
References getHashTable().
Referenced by SwGetRefField::ConvertProgrammaticToUIName(), FillProgName(), FillUIName(), and GetUIName().
|
static |
Definition at line 436 of file SwStyleNameMapper.cxx.
References getHashTable().
Referenced by SwStyleSheetIterator::AppendStyleList(), SwInsertDBColAutoPilot::DataToDoc(), SwDocShell::Edit(), SwTextShell::ExecCharAttrArgs(), FillCharStyleListBox(), SwCharURLPage::FillItemSet(), FillProgName(), SwDocStyleSheet::FillStyleSheet(), SwFEShell::FindPageDescByName(), SwWrtShell::GetCharStyle(), sw::util::GetCharStyle(), SwDocStyleSheet::GetHelpId(), SwWrtShell::GetParaStyle(), sw::util::GetParaStyle(), SwDocStyleSheet::GetParent(), GetProgName(), SwView::InsertCaption(), SwMultiTOXTabDialog::IsNoNum(), ItemSetToPageDesc(), lcl_FindCharFormat(), lcl_FindFrameFormat(), lcl_FindNumRule(), lcl_FindPageDesc(), lcl_FindParaFormat(), lcl_getCharFormat(), lcl_GetPageDesc(), lcl_GetParaStyle(), lcl_InitConditional(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_setRubyCharstyle(), sw::ToxLinkProcessor::ObtainPoolId(), SwFormatINetFormat::PutValue(), SwGetRefField::QueryValue(), SwWW8ImplReader::Read_F_Hyperlink(), SwWW8ImplReader::Read_F_PgRef(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwDocStyleSheet::SetItemSet(), SwXTextView::setRubyList(), SwNumFormat::SwNumFormat(), and SwTOXBaseSection::UpdatePageNum_().
|
static |
Definition at line 244 of file SwStyleNameMapper.cxx.
References GetPoolIdFromUIName(), GetProgName(), and nId.
Referenced by SwUnoCursorHelper::getCursorPropertyValue(), GetProgName(), SwXFieldMaster::GetProgrammaticName(), lcl_AdjustOutlineStylesForOOo(), lcl_GetSpecialProperty(), SwXFieldMaster::LocalizeFormula(), SwSetExpField::QueryValue(), SwFormatDrop::QueryValue(), SwNumRuleItem::QueryValue(), and SwDocShell::StateStyleSheet().
|
static |
Definition at line 430 of file SwStyleNameMapper.cxx.
References getNameFromId(), and nId.
|
static |
Definition at line 565 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2642 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_REGISTER_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 764 of file SwStyleNameMapper.cxx.
Referenced by SwMultiTOXTabDialog::CreateOrUpdateExample(), SwXTextFieldMasters::getInstanceName(), and SwXDocumentIndex::getPropertyValue().
|
static |
Definition at line 770 of file SwStyleNameMapper.cxx.
Referenced by lcl_GetIdByName(), and SwXDocumentIndex::setPropertyValue().
|
static |
Definition at line 719 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2754 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_TABSTYLE_ARY.
Referenced by getNameFromId().
|
static |
Definition at line 462 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2600 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_TEXT_ARY.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 236 of file SwStyleNameMapper.cxx.
References GetPoolIdFromProgName(), GetUIName(), and nId.
Referenced by SwTextPaintInfo::DrawCSDFHighlighting(), SwStyleSheetIterator::First(), HTMLTable::FixFrameFormat(), sw::DocumentStylePoolManager::GetTextCollFromPool(), GetUIName(), IMPL_LINK(), SwTableAutoFormat::Load(), SwSetExpField::PutValue(), SwFormatRuby::PutValue(), SwNumRuleItem::PutValue(), SwEndNoteOptionPage::Reset(), SwTextFlowPage::Reset(), SwTOXEntryTabPage::SetWrtShell(), SwOutlineSettingsTabPage::SetWrtShell(), SwBreakDlg::SwBreakDlg(), SwCaptionDialog::SwCaptionDialog(), SwOutlineTabDialog::SwOutlineTabDialog(), and SwTableAutoFormatTable::SwTableAutoFormatTable().
|
static |
Definition at line 416 of file SwStyleNameMapper.cxx.
References getNameFromId(), and nId.