LibreOffice Module cui (master) 1
|
#include <cfg.hxx>
Public Member Functions | |
SvxConfigEntry (OUString aDisplayName, OUString aCommandURL, bool bPopup, bool bParentData) | |
SvxConfigEntry () | |
~SvxConfigEntry () | |
const OUString & | GetCommand () const |
const OUString & | GetName () const |
void | SetName (const OUString &rStr) |
bool | HasChangedName () const |
bool | IsPopup () const |
void | SetUserDefined (bool bOn=true) |
bool | IsUserDefined () const |
bool | IsBinding () const |
bool | IsSeparator () const |
SvxEntries * | GetEntries () const |
void | SetEntries (std::unique_ptr< SvxEntries > entries) |
void | SetMain () |
bool | IsMain () const |
void | SetParentData (bool bValue=true) |
bool | IsParentData () const |
void | SetModified (bool bValue=true) |
bool | IsModified () const |
bool | IsMovable () const |
bool | IsDeletable () const |
bool | IsRenamable () const |
void | SetVisible (bool b) |
bool | IsVisible () const |
void | SetBackupGraphic (css::uno::Reference< css::graphic::XGraphic > const &graphic) |
const css::uno::Reference< css::graphic::XGraphic > & | GetBackupGraphic () const |
sal_Int32 | GetStyle () const |
void | SetStyle (sal_Int32 style) |
Private Attributes | |
sal_uInt16 | nId |
common properties More... | |
OUString | aLabel |
OUString | aCommand |
bool | bPopUp |
bool | bStrEdited |
bool | bIsUserDefined |
bool | bIsMain |
bool | bIsParentData |
bool | bIsModified |
bool | bIsVisible |
toolbar specific properties More... | |
sal_Int32 | nStyle |
css::uno::Reference< css::graphic::XGraphic > | xBackupGraphic |
std::unique_ptr< SvxEntries > | mpEntries |
SvxConfigEntry::SvxConfigEntry | ( | OUString | aDisplayName, |
OUString | aCommandURL, | ||
bool | bPopup, | ||
bool | bParentData | ||
) |
|
inline |
|
inline |
Definition at line 279 of file cfg.hxx.
References aCommand.
Referenced by ToolbarSaveInData::ApplyToolbar(), SvxConfigPageHelper::ConvertSvxConfigEntry(), SvxConfigPageHelper::ConvertToolbarEntry(), ToolbarSaveInData::CreateToolbar(), IMPL_LINK(), SvxConfigPage::IsCommandInMenuList(), ToolbarSaveInData::RemoveToolbar(), ContextMenuSaveInData::ResetContextMenu(), and ToolbarSaveInData::RestoreToolbar().
|
inline |
Definition at line 293 of file cfg.hxx.
References mpEntries.
Referenced by SvxConfigPage::AddFunction(), SvxConfigPage::AddSubMenusToUI(), SvxConfigPage::AppendEntry(), SaveInData::ApplyMenu(), SvxMenuConfigPage::DeleteSelectedContent(), SvxToolbarConfigPage::DeleteSelectedContent(), SvxMenuConfigPage::ListModified(), SvxToolbarConfigPage::ListModified(), SaveInData::LoadSubMenus(), ToolbarSaveInData::LoadToolbar(), SvxConfigPage::MoveEntryData(), ToolbarSaveInData::RestoreToolbar(), SvxMenuConfigPage::SelectElement(), SvxToolbarConfigPage::SelectElement(), SvxConfigPageHelper::SvxConfigEntryModified(), and SvxMenuConfigPage::UpdateButtonStates().
|
inline |
Definition at line 281 of file cfg.hxx.
References aLabel.
Referenced by ToolbarSaveInData::ApplyToolbar(), SvxConfigPageHelper::ConvertSvxConfigEntry(), SvxConfigPageHelper::ConvertToolbarEntry(), ToolbarSaveInData::CreateToolbar(), SvxConfigPageHelper::EntrySort(), IMPL_LINK(), IMPL_LINK_NOARG(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
inline |
Definition at line 318 of file cfg.hxx.
References nStyle.
Referenced by SvxConfigPageHelper::ConvertSvxConfigEntry(), SvxConfigPageHelper::ConvertToolbarEntry(), and SvxToolbarConfigPage::SelectElement().
|
inline |
Definition at line 283 of file cfg.hxx.
References bStrEdited.
Referenced by SvxConfigPageHelper::ConvertSvxConfigEntry(), and SvxConfigPageHelper::ConvertToolbarEntry().
|
inline |
Definition at line 290 of file cfg.hxx.
References bPopUp.
Referenced by SvxToolbarConfigPage::AddFunction(), SvxToolbarEntriesListBox::ChangedVisibility(), and IMPL_LINK().
bool SvxConfigEntry::IsDeletable | ( | ) | const |
Definition at line 1957 of file cfg.cxx.
References IsMain(), and IsUserDefined().
Referenced by IMPL_LINK(), SvxMenuConfigPage::UpdateButtonStates(), and SvxToolbarConfigPage::UpdateButtonStates().
|
inline |
Definition at line 297 of file cfg.hxx.
References bIsMain.
Referenced by IsDeletable(), IsMovable(), and IsRenamable().
|
inline |
Definition at line 303 of file cfg.hxx.
References bIsModified.
bool SvxConfigEntry::IsMovable | ( | ) | const |
Definition at line 1952 of file cfg.cxx.
References IsMain(), and IsPopup().
Referenced by SvxMenuConfigPage::UpdateButtonStates().
|
inline |
Definition at line 300 of file cfg.hxx.
References bIsParentData.
Referenced by ToolbarSaveInData::ApplyToolbar(), and ToolbarSaveInData::RestoreToolbar().
|
inline |
Definition at line 285 of file cfg.hxx.
References bPopUp.
Referenced by SvxMenuConfigPage::DeleteSelectedContent(), and IsMovable().
bool SvxConfigEntry::IsRenamable | ( | ) | const |
Definition at line 1962 of file cfg.cxx.
References IsMain(), and IsUserDefined().
Referenced by SvxMenuConfigPage::UpdateButtonStates(), and SvxToolbarConfigPage::UpdateButtonStates().
|
inline |
|
inline |
Definition at line 288 of file cfg.hxx.
References bIsUserDefined.
Referenced by ToolbarSaveInData::ApplyToolbar(), IsDeletable(), and IsRenamable().
|
inline |
Definition at line 310 of file cfg.hxx.
References bIsVisible.
Referenced by SvxConfigPageHelper::ConvertToolbarEntry(), and IMPL_LINK().
|
inline |
|
inline |
|
inline |
Definition at line 296 of file cfg.hxx.
References bIsMain.
Referenced by ContextMenuSaveInData::GetEntries(), ToolbarSaveInData::GetEntries(), IMPL_LINK(), SaveInData::LoadSubMenus(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
inline |
Definition at line 302 of file cfg.hxx.
References bIsModified.
Referenced by SvxConfigPage::AppendEntry(), SaveInData::ApplyMenu(), SvxMenuConfigPage::DeleteSelectedContent(), SvxMenuConfigPage::ListModified(), SvxToolbarConfigPage::ListModified(), and SvxConfigPage::MoveEntryData().
|
inline |
Definition at line 282 of file cfg.hxx.
References aLabel, and bStrEdited.
Referenced by SvxConfigPage::CreateCommandFromSelection(), IMPL_LINK(), IMPL_LINK_NOARG(), SaveInData::LoadSubMenus(), ToolbarSaveInData::LoadToolbar(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
inline |
Definition at line 299 of file cfg.hxx.
References bIsParentData.
Referenced by ToolbarSaveInData::ApplyToolbar(), and ToolbarSaveInData::RestoreToolbar().
|
inline |
Definition at line 319 of file cfg.hxx.
References nStyle.
Referenced by ToolbarSaveInData::GetEntries(), IMPL_LINK(), SaveInData::LoadSubMenus(), and ToolbarSaveInData::LoadToolbar().
|
inline |
Definition at line 287 of file cfg.hxx.
References bIsUserDefined.
Referenced by SvxConfigPage::CreateCommandFromSelection(), ToolbarSaveInData::GetEntries(), IMPL_LINK(), SaveInData::LoadSubMenus(), ToolbarSaveInData::LoadToolbar(), and SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog().
|
inline |
Definition at line 309 of file cfg.hxx.
References bIsVisible.
Referenced by SvxToolbarConfigPage::AddFunction(), SvxToolbarEntriesListBox::ChangedVisibility(), and ToolbarSaveInData::LoadToolbar().
|
private |
Definition at line 239 of file cfg.hxx.
Referenced by GetCommand().
|
private |
|
private |
|
private |
Definition at line 246 of file cfg.hxx.
Referenced by IsModified(), and SetModified().
|
private |
Definition at line 245 of file cfg.hxx.
Referenced by IsParentData(), and SetParentData().
|
private |
Definition at line 243 of file cfg.hxx.
Referenced by IsUserDefined(), and SetUserDefined().
|
private |
toolbar specific properties
Definition at line 249 of file cfg.hxx.
Referenced by IsVisible(), and SetVisible().
|
private |
Definition at line 241 of file cfg.hxx.
Referenced by IsBinding(), IsPopup(), and SvxConfigEntry().
|
private |
Definition at line 242 of file cfg.hxx.
Referenced by HasChangedName(), and SetName().
|
private |
Definition at line 255 of file cfg.hxx.
Referenced by GetEntries(), SetEntries(), SvxConfigEntry(), and ~SvxConfigEntry().
|
private |
|
private |
Definition at line 250 of file cfg.hxx.
Referenced by GetStyle(), and SetStyle().
|
private |
Definition at line 253 of file cfg.hxx.
Referenced by GetBackupGraphic(), and SetBackupGraphic().