LibreOffice Module cui (master) 1
|
#include <SvxConfigPageHelper.hxx>
Static Public Member Functions | |
static void | RemoveEntry (SvxEntries *pEntries, SvxConfigEntry const *pChildEntry) |
static OUString | replaceSaveInName (const OUString &rMessage, std::u16string_view rSaveInName) |
static OUString | stripHotKey (const OUString &str) |
static OUString | replaceSixteen (const OUString &str, sal_Int32 nReplacement) |
static sal_Int16 | GetImageType () |
static void | InitImageType () |
static css::uno::Reference< css::graphic::XGraphic > | GetGraphic (const css::uno::Reference< css::ui::XImageManager > &xImageManager, const OUString &rCommandURL) |
static OUString | generateCustomName (const OUString &prefix, SvxEntries *entries, sal_Int32 suffix=1) |
static OUString | generateCustomMenuURL (SvxEntries *entries, sal_Int32 suffix=1) |
static sal_uInt32 | generateRandomValue () |
static OUString | generateCustomURL (SvxEntries *entries) |
Generates a custom resource URL for a new toolbar. More... | |
static OUString | GetModuleName (std::u16string_view aModuleId) |
static OUString | GetUIModuleName (const OUString &aModuleId, const css::uno::Reference< css::frame::XModuleManager2 > &rModuleManager) |
static bool | GetMenuItemData (const css::uno::Reference< css::container::XIndexAccess > &rItemContainer, sal_Int32 nIndex, OUString &rCommandURL, OUString &rLabel, sal_uInt16 &rType, sal_Int32 &rStyle, css::uno::Reference< css::container::XIndexAccess > &rSubMenu) |
static bool | GetToolbarItemData (const css::uno::Reference< css::container::XIndexAccess > &rItemContainer, sal_Int32 nIndex, OUString &rCommandURL, OUString &rLabel, sal_uInt16 &rType, bool &rIsVisible, sal_Int32 &rStyle) |
static css::uno::Sequence< css::beans::PropertyValue > | ConvertSvxConfigEntry (const SvxConfigEntry *pEntry) |
static css::uno::Sequence< css::beans::PropertyValue > | ConvertToolbarEntry (const SvxConfigEntry *pEntry) |
static bool | EntrySort (SvxConfigEntry const *a, SvxConfigEntry const *b) |
static bool | SvxConfigEntryModified (SvxConfigEntry const *pEntry) |
Definition at line 26 of file SvxConfigPageHelper.hxx.
|
static |
Definition at line 363 of file SvxConfigPageHelper.cxx.
References SvxConfigEntry::GetCommand(), SvxConfigEntry::GetName(), SvxConfigEntry::GetStyle(), SvxConfigEntry::HasChangedName(), ITEM_DESCRIPTOR_COMMANDURL, ITEM_DESCRIPTOR_LABEL, ITEM_DESCRIPTOR_STYLE, ITEM_DESCRIPTOR_TYPE, and comphelper::makePropertyValue().
Referenced by SaveInData::ApplyMenu().
|
static |
Definition at line 384 of file SvxConfigPageHelper.cxx.
References SvxConfigEntry::GetCommand(), SvxConfigEntry::GetName(), SvxConfigEntry::GetStyle(), SvxConfigEntry::HasChangedName(), SvxConfigEntry::IsVisible(), ITEM_DESCRIPTOR_COMMANDURL, ITEM_DESCRIPTOR_ISVISIBLE, ITEM_DESCRIPTOR_LABEL, ITEM_DESCRIPTOR_STYLE, ITEM_DESCRIPTOR_TYPE, and comphelper::makePropertyValue().
|
static |
Definition at line 405 of file SvxConfigPageHelper.cxx.
References a, and SvxConfigEntry::GetName().
Referenced by ContextMenuSaveInData::GetEntries(), and ToolbarSaveInData::GetEntries().
|
static |
Definition at line 148 of file SvxConfigPageHelper.cxx.
References generateCustomMenuURL().
Referenced by generateCustomMenuURL(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
static |
Definition at line 110 of file SvxConfigPageHelper.cxx.
References generateCustomName(), name, pos, and prefix.
Referenced by generateCustomName(), IMPL_LINK(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
static |
Generates a custom resource URL for a new toolbar.
Typically something like: private:resource/toolbar/custom_toolbar_######## The last 8 letters are randomly generated alphanumeric characters.
Definition at line 179 of file SvxConfigPageHelper.cxx.
References CUSTOM_TOOLBAR_STR, generateCustomURL(), generateRandomValue(), and ITEM_TOOLBAR_URL.
Referenced by generateCustomURL(), and IMPL_LINK().
|
static |
Definition at line 174 of file SvxConfigPageHelper.cxx.
References comphelper::rng::uniform_uint_distribution().
Referenced by generateCustomURL().
|
static |
Definition at line 80 of file SvxConfigPageHelper.cxx.
References GetImageType(), and result.
Referenced by SaveInData::GetImage(), and IMPL_LINK().
|
static |
Definition at line 63 of file SvxConfigPageHelper.cxx.
References theImageType.
Referenced by GetGraphic(), IMPL_LINK(), IMPL_LINK_NOARG(), SvxIconSelectorDialog::ImportGraphic(), SvxIconSelectorDialog::ImportGraphics(), SvxIconSelectorDialog::ReplaceGraphicItem(), ToolbarSaveInData::RestoreToolbar(), and SvxIconSelectorDialog::SvxIconSelectorDialog().
|
static |
Definition at line 275 of file SvxConfigPageHelper.cxx.
References ITEM_DESCRIPTOR_COMMANDURL, ITEM_DESCRIPTOR_CONTAINER, ITEM_DESCRIPTOR_LABEL, ITEM_DESCRIPTOR_STYLE, ITEM_DESCRIPTOR_TYPE, and nIndex.
Referenced by SaveInData::LoadSubMenus().
|
static |
Definition at line 205 of file SvxConfigPageHelper.cxx.
References u.
Referenced by GetUIModuleName().
|
static |
Definition at line 319 of file SvxConfigPageHelper.cxx.
References ITEM_DESCRIPTOR_COMMANDURL, ITEM_DESCRIPTOR_ISVISIBLE, ITEM_DESCRIPTOR_LABEL, ITEM_DESCRIPTOR_STYLE, ITEM_DESCRIPTOR_TYPE, and nIndex.
Referenced by ToolbarSaveInData::LoadToolbar().
|
static |
Definition at line 236 of file SvxConfigPageHelper.cxx.
References a, aSeq, and GetModuleName().
Referenced by SvxConfigPage::Reset().
|
static |
Definition at line 65 of file SvxConfigPageHelper.cxx.
References SvtMiscOptions::GetCurrentSymbolsSize(), SFX_SYMBOLS_SIZE_32, SFX_SYMBOLS_SIZE_LARGE, and theImageType.
Referenced by SvxConfigDialog::SvxConfigDialog().
|
static |
Definition at line 33 of file SvxConfigPageHelper.cxx.
Referenced by SvxMenuConfigPage::DeleteSelectedContent(), SvxToolbarConfigPage::DeleteSelectedContent(), SvxMenuConfigPage::DeleteSelectedTopLevel(), SvxConfigPage::MoveEntryData(), and ToolbarSaveInData::RemoveToolbar().
|
static |
Definition at line 48 of file SvxConfigPageHelper.cxx.
References name.
Referenced by SvxMenuConfigPage::QueryReset(), SvxNotebookbarConfigPage::QueryReset(), and SvxToolbarConfigPage::QueryReset().
|
static |
Definition at line 58 of file SvxConfigPageHelper.cxx.
Referenced by SvxIconSelectorDialog::SvxIconSelectorDialog().
|
static |
Definition at line 56 of file SvxConfigPageHelper.cxx.
Referenced by SvxConfigPage::AddSubMenusToUI(), IMPL_LINK(), SvxConfigPage::InsertEntryIntoNotebookbarTabUI(), SaveInData::LoadSubMenus(), SvxConfigPage::ReloadTopLevelListBox(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
static |
Definition at line 410 of file SvxConfigPageHelper.cxx.
References SvxConfigEntry::GetEntries(), and SvxConfigEntryModified().
Referenced by ContextMenuSaveInData::Apply(), and SvxConfigEntryModified().