LibreOffice Module cui (master) 1
|
#include <cfg.hxx>
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 |
SvxEntries * | GetEntries () 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 SvxEntries * | GetEntries ()=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< SvxConfigEntry > | m_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) |
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.
|
overridevirtual |
|
overridevirtual |
Implements SaveInData.
Definition at line 860 of file cfg.cxx.
References SaveInData::ApplyMenu(), SaveInData::GetConfigManager(), GetEntries(), SaveInData::IsModified(), SaveInData::PersistChanges(), SaveInData::SetModified(), SvxConfigPageHelper::SvxConfigEntryModified(), and xFactory.
|
overridevirtual |
Implements SaveInData.
Definition at line 739 of file cfg.cxx.
References SvxConfigPageHelper::EntrySort(), SaveInData::GetConfigManager(), SaveInData::GetParentConfigManager(), GetUIName(), ITEM_DESCRIPTOR_RESOURCEURL, SaveInData::LoadSubMenus(), m_pRootEntry, and SvxConfigEntry::SetMain().
|
private |
Definition at line 714 of file cfg.cxx.
References ITEM_DESCRIPTOR_UINAME, and m_xPersistentWindowState.
Referenced by GetEntries().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements SaveInData.
Definition at line 890 of file cfg.cxx.
References SaveInData::GetConfigManager(), GetEntries(), m_pRootEntry, SaveInData::PersistChanges(), and TOOLS_WARN_EXCEPTION.
void ContextMenuSaveInData::ResetContextMenu | ( | const SvxConfigEntry * | pEntry | ) |
Definition at line 908 of file cfg.cxx.
References SvxConfigEntry::GetCommand(), SaveInData::GetConfigManager(), m_pRootEntry, SaveInData::PersistChanges(), and TOOLS_WARN_EXCEPTION.
Referenced by IMPL_LINK_NOARG().
|
overridevirtual |
|
private |
Definition at line 211 of file cfg.hxx.
Referenced by GetEntries(), HasSettings(), Reset(), ResetContextMenu(), and SetEntries().
|
private |
Definition at line 212 of file cfg.hxx.
Referenced by ContextMenuSaveInData(), and GetUIName().