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 (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 ()
 
bool IsReadOnly ()
 
bool IsDocConfig ()
 
const css::uno::Reference< css::ui::XUIConfigurationManager > & GetConfigManager ()
 
const css::uno::Reference< css::ui::XUIConfigurationManager > & GetParentConfigManager ()
 
const css::uno::Reference< css::ui::XImageManager > & GetImageManager ()
 
const css::uno::Reference< css::ui::XImageManager > & GetParentImageManager ()
 
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 83 of file cfg.hxx.

Constructor & Destructor Documentation

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::~SaveInData ( )
inlinevirtual

Definition at line 126 of file cfg.hxx.

Member Function Documentation

virtual bool SaveInData::Apply ( )
pure virtual
void SaveInData::ApplyMenu ( css::uno::Reference< css::container::XIndexContainer > const &  rMenuBar,
css::uno::Reference< css::lang::XSingleComponentFactory > &  rFactory,
SvxConfigEntry pMenuData 
)
protected
const css::uno::Reference< css::ui::XUIConfigurationManager >& SaveInData::GetConfigManager ( )
inline
virtual SvxEntries* SaveInData::GetEntries ( )
pure virtual
uno::Reference< graphic::XGraphic > SaveInData::GetImage ( const OUString &  rCommandURL)
const css::uno::Reference< css::ui::XImageManager >& SaveInData::GetImageManager ( )
inline

Definition at line 147 of file cfg.hxx.

References m_xImgMgr.

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

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

Definition at line 151 of file cfg.hxx.

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

Definition at line 135 of file cfg.hxx.

References bDocConfig.

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

bool SaveInData::IsModified ( )
inline

Definition at line 132 of file cfg.hxx.

References bModified.

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

bool SaveInData::IsReadOnly ( )
inline

Definition at line 134 of file cfg.hxx.

References bReadOnly.

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

void SaveInData::LoadSubMenus ( const css::uno::Reference< css::container::XIndexAccess > &  xMenuSettings,
const OUString &  rBaseTitle,
SvxConfigEntry const *  pParentData,
bool  bContextMenu 
)
protected
bool SaveInData::PersistChanges ( const css::uno::Reference< css::uno::XInterface > &  xManager)
virtual void SaveInData::Reset ( )
pure virtual
virtual void SaveInData::SetEntries ( std::unique_ptr< SvxEntries )
pure virtual
void SaveInData::SetModified ( bool  bValue = true)
inline

Member Data Documentation

bool SaveInData::bDocConfig
private

Definition at line 89 of file cfg.hxx.

Referenced by IsDocConfig(), and SaveInData().

bool SaveInData::bModified
private

Definition at line 87 of file cfg.hxx.

Referenced by IsModified().

bool SaveInData::bReadOnly
private

Definition at line 90 of file cfg.hxx.

Referenced by IsReadOnly(), and SaveInData().

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

Definition at line 157 of file cfg.hxx.

Referenced by ApplyMenu(), and SaveInData().

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

Definition at line 93 of file cfg.hxx.

Referenced by GetConfigManager().

css::uno::Reference< css::container::XNameAccess > SaveInData::m_xCommandToLabelMap
css::uno::Reference< css::ui::XImageManager > SaveInData::m_xImgMgr
private

Definition at line 99 of file cfg.hxx.

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

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

Definition at line 96 of file cfg.hxx.

Referenced by GetParentConfigManager(), and SaveInData().

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

Definition at line 102 of file cfg.hxx.

Referenced by SaveInData().

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

Definition at line 105 of file cfg.hxx.

Referenced by GetImage(), and SaveInData().


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