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

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

Constructor & Destructor Documentation

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 685 of file cfg.cxx.

References comphelper::getProcessComponentContext(), and m_xPersistentWindowState.

ContextMenuSaveInData::~ContextMenuSaveInData ( )
overridevirtual

Definition at line 696 of file cfg.cxx.

Member Function Documentation

bool ContextMenuSaveInData::Apply ( )
overridevirtual
SvxEntries * ContextMenuSaveInData::GetEntries ( )
overridevirtual
OUString ContextMenuSaveInData::GetUIName ( const OUString &  rResourceURL)
private

Definition at line 700 of file cfg.cxx.

References ITEM_DESCRIPTOR_UINAME, and m_xPersistentWindowState.

Referenced by GetEntries().

bool ContextMenuSaveInData::HasSettings ( )
overridevirtual

Implements SaveInData.

Definition at line 841 of file cfg.cxx.

References m_pRootEntry.

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

Implements SaveInData.

Definition at line 831 of file cfg.cxx.

References GetEntries().

void ContextMenuSaveInData::Reset ( void  )
overridevirtual
void ContextMenuSaveInData::ResetContextMenu ( const SvxConfigEntry pEntry)
void ContextMenuSaveInData::SetEntries ( std::unique_ptr< SvxEntries pNewEntries)
overridevirtual

Implements SaveInData.

Definition at line 826 of file cfg.cxx.

References m_pRootEntry.

Member Data Documentation

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

Definition at line 206 of file cfg.hxx.

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

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

Definition at line 207 of file cfg.hxx.

Referenced by ContextMenuSaveInData(), and GetUIName().


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