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

#include <cfg.hxx>

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

Public Member Functions

 ContextMenuSaveInData (const css::uno::Reference< css::ui::XUIConfigurationManager > &xCfgMgr, const css::uno::Reference< css::ui::XUIConfigurationManager > &xParentCfgMgr, const OUString &aModuleId, bool bIsDocConfig)
 
virtual ~ContextMenuSaveInData () override
 
SvxEntriesGetEntries () override
 
void SetEntries (std::unique_ptr< SvxEntries > pNewEntries) override
 
bool HasSettings () override
 
bool HasURL (const OUString &rURL) override
 
void Reset () override
 
bool Apply () override
 
void ResetContextMenu (const SvxConfigEntry *pEntry)
 
- 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 SvxEntriesGetEntries ()=0
 
virtual void SetEntries (std::unique_ptr< SvxEntries >)=0
 
virtual void Reset ()=0
 
virtual bool Apply ()=0
 

Private Member Functions

OUString GetUIName (const OUString &rResourceURL)
 

Private Attributes

std::unique_ptr< SvxConfigEntrym_pRootEntry
 
css::uno::Reference< css::container::XNameAccess > m_xPersistentWindowState
 

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 208 of file cfg.hxx.

Constructor & Destructor Documentation

◆ ContextMenuSaveInData()

ContextMenuSaveInData::ContextMenuSaveInData ( const css::uno::Reference< css::ui::XUIConfigurationManager > &  xCfgMgr,
const css::uno::Reference< css::ui::XUIConfigurationManager > &  xParentCfgMgr,
const OUString &  aModuleId,
bool  bIsDocConfig 
)

Definition at line 699 of file cfg.cxx.

References comphelper::getProcessComponentContext(), and m_xPersistentWindowState.

◆ ~ContextMenuSaveInData()

ContextMenuSaveInData::~ContextMenuSaveInData ( )
overridevirtual

Definition at line 710 of file cfg.cxx.

Member Function Documentation

◆ Apply()

bool ContextMenuSaveInData::Apply ( )
overridevirtual

◆ GetEntries()

SvxEntries * ContextMenuSaveInData::GetEntries ( )
overridevirtual

◆ GetUIName()

OUString ContextMenuSaveInData::GetUIName ( const OUString &  rResourceURL)
private

Definition at line 714 of file cfg.cxx.

References ITEM_DESCRIPTOR_UINAME, and m_xPersistentWindowState.

Referenced by GetEntries().

◆ HasSettings()

bool ContextMenuSaveInData::HasSettings ( )
overridevirtual

Implements SaveInData.

Definition at line 855 of file cfg.cxx.

References m_pRootEntry.

◆ HasURL()

bool ContextMenuSaveInData::HasURL ( const OUString &  rURL)
overridevirtual

Implements SaveInData.

Definition at line 845 of file cfg.cxx.

References GetEntries().

◆ Reset()

void ContextMenuSaveInData::Reset ( void  )
overridevirtual

◆ ResetContextMenu()

void ContextMenuSaveInData::ResetContextMenu ( const SvxConfigEntry pEntry)

◆ SetEntries()

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

Implements SaveInData.

Definition at line 840 of file cfg.cxx.

References m_pRootEntry.

Member Data Documentation

◆ m_pRootEntry

std::unique_ptr< SvxConfigEntry > ContextMenuSaveInData::m_pRootEntry
private

Definition at line 211 of file cfg.hxx.

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

◆ m_xPersistentWindowState

css::uno::Reference< css::container::XNameAccess > ContextMenuSaveInData::m_xPersistentWindowState
private

Definition at line 212 of file cfg.hxx.

Referenced by ContextMenuSaveInData(), and GetUIName().


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