LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
MenuSaveInData Class Reference

#include <cfg.hxx>

Inheritance diagram for MenuSaveInData:
[legend]
Collaboration diagram for MenuSaveInData:
[legend]

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
 
SvxEntriesGetEntries () 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 (const css::uno::Reference< css::ui::XUIConfigurationManager > &xCfgMgr, const 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)
 

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 MenuSaveInDataGetDefaultData ()
 

Private Attributes

OUString m_aMenuResourceURL
 
OUString m_aDescriptorContainer
 
css::uno::Reference< css::container::XIndexAccess > m_xMenuSettings
 
std::unique_ptr< SvxConfigEntrypRootEntry
 

Static Private Attributes

static MenuSaveInDatapDefaultData = 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)
 

Detailed Description

Definition at line 161 of file cfg.hxx.

Constructor & Destructor Documentation

MenuSaveInData::MenuSaveInData ( const css::uno::Reference< css::ui::XUIConfigurationManager > &  ,
const css::uno::Reference< css::ui::XUIConfigurationManager > &  ,
const OUString &  aModuleId,
bool  docConfig 
)
MenuSaveInData::~MenuSaveInData ( )
overridevirtual

Definition at line 404 of file cfg.cxx.

Member Function Documentation

void MenuSaveInData::Apply ( css::uno::Reference< css::container::XIndexContainer > const &  rNewMenuBar,
css::uno::Reference< css::lang::XSingleComponentFactory > &  rFactory 
)
private
bool MenuSaveInData::Apply ( )
overridevirtual
static MenuSaveInData* MenuSaveInData::GetDefaultData ( )
inlinestaticprivate

Definition at line 177 of file cfg.hxx.

References pDefaultData.

Referenced by GetEntries().

SvxEntries * MenuSaveInData::GetEntries ( )
overridevirtual

methods inherited from SaveInData

Implements SaveInData.

Definition at line 409 of file cfg.cxx.

References GetDefaultData(), SaveInData::LoadSubMenus(), m_xMenuSettings, and pRootEntry.

bool MenuSaveInData::HasSettings ( )
inlineoverridevirtual

Implements SaveInData.

Definition at line 197 of file cfg.hxx.

bool MenuSaveInData::HasURL ( const OUString &  )
inlineoverridevirtual

Implements SaveInData.

Definition at line 196 of file cfg.hxx.

void MenuSaveInData::Reset ( void  )
overridevirtual
static void MenuSaveInData::SetDefaultData ( MenuSaveInData pData)
inlinestaticprivate

Definition at line 176 of file cfg.hxx.

Referenced by MenuSaveInData().

void MenuSaveInData::SetEntries ( std::unique_ptr< SvxEntries pNewEntries)
overridevirtual

Implements SaveInData.

Definition at line 430 of file cfg.cxx.

References pRootEntry.

Member Data Documentation

OUString MenuSaveInData::m_aDescriptorContainer
private

Definition at line 166 of file cfg.hxx.

OUString MenuSaveInData::m_aMenuResourceURL
private

Definition at line 165 of file cfg.hxx.

Referenced by Apply(), and Reset().

css::uno::Reference< css::container::XIndexAccess > MenuSaveInData::m_xMenuSettings
private

Definition at line 169 of file cfg.hxx.

Referenced by Apply(), GetEntries(), MenuSaveInData(), and Reset().

MenuSaveInData * MenuSaveInData::pDefaultData = nullptr
staticprivate

static holder of the default menu data

Definition at line 174 of file cfg.hxx.

Referenced by GetDefaultData().

std::unique_ptr<SvxConfigEntry> MenuSaveInData::pRootEntry
private

Definition at line 171 of file cfg.hxx.

Referenced by GetEntries(), Reset(), and SetEntries().


The documentation for this class was generated from the following files: