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 402 of file SwStyleNameMapper.cxx.
References getNameFromId().
Referenced by FillProgName(), and FillUIName().
|
static |
Definition at line 251 of file SwStyleNameMapper.cxx.
References ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), GetPoolIdFromUIName(), SwResId(), and USHRT_MAX.
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwXMLExport::ExportFormat(), SwStyleSheetIterator::First(), SwXDocumentIndex::StyleAccess_Impl::getByIndex(), SwXDocumentIndex::TokenAccess_Impl::getByIndex(), SwUnoCursorHelper::GetCurPageStyle(), SwUnoCursorHelper::getCursorPropertyValue(), SwXNumberingRules::getName(), SwXTextTableStyle::getName(), SwXNumberingRules::GetNumberingRuleByIndex(), SwXNumberingRules::GetPropertiesForNumFormat(), SwXFootnoteProperties::getPropertyValue(), SwXEndnoteProperties::getPropertyValue(), SwXDocumentIndex::getPropertyValue(), SwXLineNumberingProperties::getPropertyValue(), SwXTextView::getRubyList(), lcl_FindCellStyle(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), SwFormatRuby::QueryValue(), SwFormatPageDesc::QueryValue(), SwFormatCharFormat::QueryValue(), SwFormatINetFormat::QueryValue(), SwGetRefField::QueryValue(), AttrSetHandleHelper::SetParent(), and SwXNumberingRules::SetPropertiesToNumFormat().
|
static |
Definition at line 422 of file SwStyleNameMapper.cxx.
References fillNameFromId().
|
static |
Definition at line 286 of file SwStyleNameMapper.cxx.
References aName, ChrFmt, fillNameFromId(), GetPoolIdFromProgName(), SwResId(), and USHRT_MAX.
Referenced by SwTextShell::ExecSetNumber(), FillCharStyleListBox(), SwXTextCellStyle::getName(), SwDocStyleSheet::GetParent(), SwInsertDBColAutoPilot::ImplCommit(), 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(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwEndNoteOptionPage::Reset(), SwCharURLPage::Reset(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXTextDefaults::setPropertyValue(), SwXDocumentIndex::setPropertyValue(), SwXTextView::setRubyList(), SwCaptionOptPage::SwCaptionOptPage(), and SwFormatINetFormat::SwFormatINetFormat().
|
static |
Definition at line 409 of file SwStyleNameMapper.cxx.
References fillNameFromId().
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 753 of file SwStyleNameMapper.cxx.
|
static |
returns an empty array because Cell Names aren't translated
Definition at line 455 of file SwStyleNameMapper.cxx.
|
static |
Definition at line 641 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2594 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 606 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2573 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 536 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2559 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), SAL_N_ELEMENTS, and STR_POOLCOLL_EXTRA_ARY.
Referenced by SwStyleSheetIterator::First(), getNameFromId(), and SwXFieldMaster::setPropertyValue().
|
static |
Definition at line 627 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2587 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), getNameFromId(), and SwView::InsertGraphicDlg().
|
staticprivate |
Definition at line 190 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 665 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2601 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 615 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2580 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 488 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2552 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
staticprivate |
Definition at line 308 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().
|
static |
Definition at line 698 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2615 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 681 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2608 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 444 of file SwStyleNameMapper.cxx.
References getHashTable(), and USHRT_MAX.
Referenced by SwGetRefField::ConvertProgrammaticToUIName(), FillProgName(), FillUIName(), and GetUIName().
|
static |
Definition at line 435 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(), SwNumFormat::SwNumFormat(), and SwTOXBaseSection::UpdatePageNum_().
|
static |
Definition at line 243 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 429 of file SwStyleNameMapper.cxx.
References getNameFromId().
|
static |
Definition at line 563 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2566 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwStyleSheetIterator::First(), and getNameFromId().
|
static |
Definition at line 760 of file SwStyleNameMapper.cxx.
Referenced by SwMultiTOXTabDialog::CreateOrUpdateExample(), SwXTextFieldMasters::getInstanceName(), and SwXDocumentIndex::getPropertyValue().
|
static |
Definition at line 766 of file SwStyleNameMapper.cxx.
Referenced by lcl_GetIdByName(), and SwXDocumentIndex::setPropertyValue().
|
static |
Definition at line 715 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2622 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by getNameFromId().
|
static |
Definition at line 461 of file SwStyleNameMapper.cxx.
Referenced by getNameFromId().
|
static |
Definition at line 2545 of file DocumentStylePoolManager.cxx.
References lcl_NewUINameArray(), and SAL_N_ELEMENTS.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), getNameFromId(), lcl_FindCharFormat(), and SwDocShell::StateStyleSheet().
|
static |
Definition at line 235 of file SwStyleNameMapper.cxx.
References GetPoolIdFromProgName(), and USHRT_MAX.
Referenced by SwStyleSheetIterator::First(), HTMLTable::FixFrameFormat(), 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 415 of file SwStyleNameMapper.cxx.
References getNameFromId().