LibreOffice Module cui (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
SaveInData Class Referenceabstract

#include <cfg.hxx>

Inheritance diagram for SaveInData:
[legend]

Public Member Functions

 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
 

Public Attributes

css::uno::Reference< css::container::XNameAccess > m_xCommandToLabelMap
 
css::uno::Sequence< css::beans::PropertyValue > m_aSeparatorSeq
 

Protected Member Functions

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)
 

Private Attributes

bool bModified
 
bool bDocConfig
 
bool bReadOnly
 
css::uno::Reference< css::ui::XUIConfigurationManager > m_xCfgMgr
 
css::uno::Reference< css::ui::XUIConfigurationManager > m_xParentCfgMgr
 
css::uno::Reference< css::ui::XImageManager > m_xImgMgr
 
css::uno::Reference< css::ui::XImageManager > m_xParentImgMgr
 

Static Private Attributes

static css::uno::Reference< css::ui::XImageManager > * xDefaultImgMgr = nullptr
 

Detailed Description

Definition at line 81 of file cfg.hxx.

Constructor & Destructor Documentation

◆ SaveInData()

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

◆ ~SaveInData()

virtual SaveInData::~SaveInData ( )
inlinevirtual

Definition at line 124 of file cfg.hxx.

Member Function Documentation

◆ Apply()

virtual bool SaveInData::Apply ( )
pure virtual

◆ ApplyMenu()

void SaveInData::ApplyMenu ( css::uno::Reference< css::container::XIndexContainer > const &  rMenuBar,
css::uno::Reference< css::lang::XSingleComponentFactory > &  rFactory,
SvxConfigEntry pMenuData 
)
protected

◆ GetConfigManager()

const css::uno::Reference< css::ui::XUIConfigurationManager > & SaveInData::GetConfigManager ( ) const
inline

◆ GetEntries()

virtual SvxEntries * SaveInData::GetEntries ( )
pure virtual

◆ GetImage()

uno::Reference< graphic::XGraphic > SaveInData::GetImage ( const OUString &  rCommandURL)

◆ GetImageManager()

const css::uno::Reference< css::ui::XImageManager > & SaveInData::GetImageManager ( ) const
inline

Definition at line 145 of file cfg.hxx.

References m_xImgMgr.

Referenced by ToolbarSaveInData::Reset(), and ToolbarSaveInData::RestoreToolbar().

◆ GetParentConfigManager()

const css::uno::Reference< css::ui::XUIConfigurationManager > & SaveInData::GetParentConfigManager ( ) const
inline

◆ GetParentImageManager()

const css::uno::Reference< css::ui::XImageManager > & SaveInData::GetParentImageManager ( ) const
inline

Definition at line 149 of file cfg.hxx.

References m_xParentImgMgr.

◆ HasSettings()

virtual bool SaveInData::HasSettings ( )
pure virtual

◆ HasURL()

virtual bool SaveInData::HasURL ( const OUString &  aURL)
pure virtual

◆ IsDocConfig()

bool SaveInData::IsDocConfig ( ) const
inline

Definition at line 133 of file cfg.hxx.

References bDocConfig.

Referenced by MenuSaveInData::MenuSaveInData(), ToolbarSaveInData::RestoreToolbar(), and SaveInData().

◆ IsModified()

bool SaveInData::IsModified ( ) const
inline

Definition at line 130 of file cfg.hxx.

References bModified.

Referenced by MenuSaveInData::Apply(), and ContextMenuSaveInData::Apply().

◆ IsReadOnly()

bool SaveInData::IsReadOnly ( ) const
inline

Definition at line 132 of file cfg.hxx.

References bReadOnly.

Referenced by PersistChanges(), and SvxConfigPage::Reset().

◆ LoadSubMenus()

void SaveInData::LoadSubMenus ( const css::uno::Reference< css::container::XIndexAccess > &  xMenuSettings,
const OUString &  rBaseTitle,
SvxConfigEntry const *  pParentData,
bool  bContextMenu 
)
protected

◆ PersistChanges()

bool SaveInData::PersistChanges ( const css::uno::Reference< css::uno::XInterface > &  xManager)

◆ Reset()

virtual void SaveInData::Reset ( )
pure virtual

◆ SetEntries()

virtual void SaveInData::SetEntries ( std::unique_ptr< SvxEntries )
pure virtual

◆ SetModified()

void SaveInData::SetModified ( bool  bValue = true)
inline

Member Data Documentation

◆ bDocConfig

bool SaveInData::bDocConfig
private

Definition at line 87 of file cfg.hxx.

Referenced by IsDocConfig(), and SaveInData().

◆ bModified

bool SaveInData::bModified
private

Definition at line 85 of file cfg.hxx.

Referenced by IsModified(), and SetModified().

◆ bReadOnly

bool SaveInData::bReadOnly
private

Definition at line 88 of file cfg.hxx.

Referenced by IsReadOnly(), and SaveInData().

◆ m_aSeparatorSeq

css::uno::Sequence< css::beans::PropertyValue > SaveInData::m_aSeparatorSeq

Definition at line 155 of file cfg.hxx.

Referenced by ApplyMenu().

◆ m_xCfgMgr

css::uno::Reference< css::ui::XUIConfigurationManager > SaveInData::m_xCfgMgr
private

Definition at line 91 of file cfg.hxx.

Referenced by GetConfigManager().

◆ m_xCommandToLabelMap

css::uno::Reference< css::container::XNameAccess > SaveInData::m_xCommandToLabelMap

◆ m_xImgMgr

css::uno::Reference< css::ui::XImageManager > SaveInData::m_xImgMgr
private

Definition at line 97 of file cfg.hxx.

Referenced by GetImage(), GetImageManager(), and SaveInData().

◆ m_xParentCfgMgr

css::uno::Reference< css::ui::XUIConfigurationManager > SaveInData::m_xParentCfgMgr
private

Definition at line 94 of file cfg.hxx.

Referenced by GetParentConfigManager(), and SaveInData().

◆ m_xParentImgMgr

css::uno::Reference< css::ui::XImageManager > SaveInData::m_xParentImgMgr
private

Definition at line 100 of file cfg.hxx.

Referenced by GetParentImageManager(), and SaveInData().

◆ xDefaultImgMgr

uno::Reference< css::ui::XImageManager > * SaveInData::xDefaultImgMgr = nullptr
staticprivate

Definition at line 103 of file cfg.hxx.

Referenced by GetImage(), and SaveInData().


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