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 412 of file SwStyleNameMapper.cxx.
References getNameFromId().
Referenced by FillProgName(), and FillUIName().
|
static |
Definition at line 261 of file SwStyleNameMapper.cxx.
References ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), GetPoolIdFromUIName(), SwResId(), and USHRT_MAX.
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(), SwXDocumentIndex::getPropertyValue(), SwXLineNumberingProperties::getPropertyValue(), SwXTextTable::getPropertyValue(), SwXTextView::getRubyList(), lcl_FindCellStyle(), lcl_GetCountOrName< SfxStyleFamily::Cell >(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), SwFormatRuby::QueryValue(), SwFormatPageDesc::QueryValue(), SwFormatCharFormat::QueryValue(), SwFormatINetFormat::QueryValue(), SwGetRefField::QueryValue(), AttrSetHandleHelper::SetParent(), SwXNumberingRules::SetPropertiesToNumFormat(), and SwEditShell::SetTextFormatColl().
|
static |
Definition at line 432 of file SwStyleNameMapper.cxx.
References fillNameFromId().
|
static |
Definition at line 296 of file SwStyleNameMapper.cxx.
References aName, ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), SwResId(), and USHRT_MAX.
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(), 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(), SwXTextDefaults::setPropertyValue(), SwXDocumentIndex::setPropertyValue(), SwXTextTable::setPropertyValue(), SwXTextView::setRubyList(), SwCaptionOptPage::SwCaptionOptPage(), and SwFormatINetFormat::SwFormatINetFormat().
|
static |
Definition at line 419 of file SwStyleNameMapper.cxx.
References fillNameFromId().
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 765 of file SwStyleNameMapper.cxx.
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 465 of file SwStyleNameMapper.cxx.
|
static |
Definition at line 652 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2680 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 616 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2639 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 546 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2611 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 638 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2666 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), getNameFromId(), and SwView::InsertGraphicDlg().
|
staticprivate |
Definition at line 200 of file SwStyleNameMapper.cxx.
References assert(), 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 676 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2694 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 626 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2652 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 498 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2597 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
staticprivate |
Definition at line 318 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_POOLTABLESTYLE_BEGIN, RES_POOLTABLESTYLE_END, and USER_FMT.
Referenced by fillNameFromId(), GetProgName(), and GetUIName().
|
static |
Definition at line 709 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2722 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 692 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2708 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 454 of file SwStyleNameMapper.cxx.
References getHashTable(), and USHRT_MAX.
Referenced by SwGetRefField::ConvertProgrammaticToUIName(), FillProgName(), FillUIName(), and GetUIName().
|
static |
Definition at line 445 of file SwStyleNameMapper.cxx.
References getHashTable(), and USHRT_MAX.
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(), SwEditShell::SetTextFormatColl(), SwNumFormat::SwNumFormat(), and SwTOXBaseSection::UpdatePageNum_().
|
static |
Definition at line 253 of file SwStyleNameMapper.cxx.
References GetPoolIdFromUIName(), and USHRT_MAX.
Referenced by SwUnoCursorHelper::getCursorPropertyValue(), SwXFieldMaster::GetProgrammaticName(), SwXFrame::getPropertyValue(), lcl_AdjustOutlineStylesForOOo(), lcl_GetSpecialProperty(), SwXFieldMaster::LocalizeFormula(), SwFormatDrop::QueryValue(), SwNumRuleItem::QueryValue(), and SwSetExpField::QueryValue().
|
static |
Definition at line 439 of file SwStyleNameMapper.cxx.
References getNameFromId().
|
static |
Definition at line 573 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2625 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 772 of file SwStyleNameMapper.cxx.
Referenced by SwMultiTOXTabDialog::CreateOrUpdateExample(), SwXTextFieldMasters::getInstanceName(), and SwXDocumentIndex::getPropertyValue().
|
static |
Definition at line 778 of file SwStyleNameMapper.cxx.
Referenced by lcl_GetIdByName(), and SwXDocumentIndex::setPropertyValue().
|
static |
Definition at line 727 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2736 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by getNameFromId().
|
static |
Definition at line 471 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2583 of file DocumentStylePoolManager.cxx.
References SvtSysLocale::GetUILanguageTag(), lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 245 of file SwStyleNameMapper.cxx.
References GetPoolIdFromProgName(), and USHRT_MAX.
Referenced by SwStyleSheetIterator::First(), HTMLTable::FixFrameFormat(), sw::DocumentStylePoolManager::GetTextCollFromPool(), IMPL_LINK(), SwTableAutoFormat::Load(), SwFormatRuby::PutValue(), SwNumRuleItem::PutValue(), SwSetExpField::PutValue(), SwEndNoteOptionPage::Reset(), SwTextFlowPage::Reset(), SwOutlineSettingsTabPage::SetWrtShell(), SwTOXEntryTabPage::SetWrtShell(), SwBreakDlg::SwBreakDlg(), SwCaptionDialog::SwCaptionDialog(), SwOutlineTabDialog::SwOutlineTabDialog(), and SwTableAutoFormatTable::SwTableAutoFormatTable().
|
static |
Definition at line 425 of file SwStyleNameMapper.cxx.
References getNameFromId().