LibreOffice Module cui (master) 1
|
#include <cfg.hxx>
Public Member Functions | |
MenuSaveInData (const css::uno::Reference< css::ui::XUIConfigurationManager > &, const css::uno::Reference< css::ui::XUIConfigurationManager > &, const OUString &aModuleId, bool docConfig) | |
virtual | ~MenuSaveInData () override |
SvxEntries * | GetEntries () override |
methods inherited from SaveInData More... | |
void | SetEntries (std::unique_ptr< SvxEntries >) override |
bool | HasURL (const OUString &) override |
bool | HasSettings () override |
void | Reset () override |
bool | Apply () override |
Public Member Functions inherited from SaveInData | |
SaveInData (css::uno::Reference< css::ui::XUIConfigurationManager > xCfgMgr, css::uno::Reference< css::ui::XUIConfigurationManager > xParentCfgMgr, const OUString &aModuleId, bool docConfig) | |
virtual | ~SaveInData () |
bool | PersistChanges (const css::uno::Reference< css::uno::XInterface > &xManager) |
void | SetModified (bool bValue=true) |
bool | IsModified () const |
bool | IsReadOnly () const |
bool | IsDocConfig () const |
const css::uno::Reference< css::ui::XUIConfigurationManager > & | GetConfigManager () const |
const css::uno::Reference< css::ui::XUIConfigurationManager > & | GetParentConfigManager () const |
const css::uno::Reference< css::ui::XImageManager > & | GetImageManager () const |
const css::uno::Reference< css::ui::XImageManager > & | GetParentImageManager () const |
css::uno::Reference< css::graphic::XGraphic > | GetImage (const OUString &rCommandURL) |
virtual bool | HasURL (const OUString &aURL)=0 |
virtual bool | HasSettings ()=0 |
virtual SvxEntries * | GetEntries ()=0 |
virtual void | SetEntries (std::unique_ptr< SvxEntries >)=0 |
virtual void | Reset ()=0 |
virtual bool | Apply ()=0 |
Private Member Functions | |
void | Apply (css::uno::Reference< css::container::XIndexContainer > const &rNewMenuBar, css::uno::Reference< css::lang::XSingleComponentFactory > &rFactory) |
Static Private Member Functions | |
static void | SetDefaultData (MenuSaveInData *pData) |
static MenuSaveInData * | GetDefaultData () |
Private Attributes | |
OUString | m_aMenuResourceURL |
OUString | m_aDescriptorContainer |
css::uno::Reference< css::container::XIndexAccess > | m_xMenuSettings |
std::unique_ptr< SvxConfigEntry > | pRootEntry |
Static Private Attributes | |
static MenuSaveInData * | pDefaultData = nullptr |
static holder of the default menu data More... | |
Additional Inherited Members | |
Public Attributes inherited from SaveInData | |
css::uno::Reference< css::container::XNameAccess > | m_xCommandToLabelMap |
css::uno::Sequence< css::beans::PropertyValue > | m_aSeparatorSeq |
Protected Member Functions inherited from SaveInData | |
void | ApplyMenu (css::uno::Reference< css::container::XIndexContainer > const &rMenuBar, css::uno::Reference< css::lang::XSingleComponentFactory > &rFactory, SvxConfigEntry *pMenuData) |
void | LoadSubMenus (const css::uno::Reference< css::container::XIndexAccess > &xMenuSettings, const OUString &rBaseTitle, SvxConfigEntry const *pParentData, bool bContextMenu) |
MenuSaveInData::MenuSaveInData | ( | const css::uno::Reference< css::ui::XUIConfigurationManager > & | , |
const css::uno::Reference< css::ui::XUIConfigurationManager > & | , | ||
const OUString & | aModuleId, | ||
bool | docConfig | ||
) |
Definition at line 385 of file cfg.cxx.
References SaveInData::GetConfigManager(), SaveInData::IsDocConfig(), ITEM_MENUBAR_URL, m_xMenuSettings, and SetDefaultData().
|
overridevirtual |
Implements SaveInData.
Definition at line 559 of file cfg.cxx.
References Apply(), SaveInData::GetConfigManager(), SaveInData::IsModified(), m_aMenuResourceURL, m_xMenuSettings, SaveInData::PersistChanges(), result, SaveInData::SetModified(), TOOLS_WARN_EXCEPTION, and xFactory.
Referenced by Apply().
|
private |
|
inlinestaticprivate |
|
overridevirtual |
methods inherited from SaveInData
Implements SaveInData.
Definition at line 421 of file cfg.cxx.
References GetDefaultData(), SaveInData::LoadSubMenus(), m_xMenuSettings, and pRootEntry.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements SaveInData.
|
overridevirtual |
Implements SaveInData.
Definition at line 675 of file cfg.cxx.
References SaveInData::GetConfigManager(), m_aMenuResourceURL, m_xMenuSettings, SaveInData::PersistChanges(), and pRootEntry.
|
inlinestaticprivate |
Definition at line 182 of file cfg.hxx.
References pData, and pDefaultData.
Referenced by MenuSaveInData().
|
overridevirtual |
|
private |
|
private |
Definition at line 175 of file cfg.hxx.
Referenced by Apply(), GetEntries(), HasSettings(), MenuSaveInData(), and Reset().
|
staticprivate |
static holder of the default menu data
Definition at line 180 of file cfg.hxx.
Referenced by GetDefaultData(), and SetDefaultData().
|
private |
Definition at line 177 of file cfg.hxx.
Referenced by GetEntries(), Reset(), and SetEntries().