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

#include <cfg.hxx>

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

Public Member Functions

 ToolbarSaveInData (const css::uno::Reference< css::ui::XUIConfigurationManager > &, const css::uno::Reference< css::ui::XUIConfigurationManager > &, const OUString &aModuleId, bool docConfig)
 
virtual ~ToolbarSaveInData () override
 
void CreateToolbar (SvxConfigEntry *pToolbar)
 
void RestoreToolbar (SvxConfigEntry *pToolbar)
 
void RemoveToolbar (SvxConfigEntry *pToolbar)
 
void ApplyToolbar (SvxConfigEntry *pToolbar)
 
OUString GetSystemUIName (const OUString &rResourceURL)
 
sal_Int32 GetSystemStyle (const OUString &rResourceURL)
 
void SetSystemStyle (const OUString &rResourceURL, sal_Int32 nStyle)
 
void SetSystemStyle (const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &rResourceURL, sal_Int32 nStyle)
 
SvxEntriesGetEntries () override
 
void SetEntries (std::unique_ptr< SvxEntries >) override
 
bool HasSettings () override
 
bool HasURL (const OUString &rURL) override
 
void Reset () override
 
bool Apply () override
 
- 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 ()
 
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)
 

Private Member Functions

void LoadToolbar (const css::uno::Reference< css::container::XIndexAccess > &xToolBarSettings, SvxConfigEntry const *pParentData)
 
void ApplyToolbar (css::uno::Reference< css::container::XIndexContainer > const &rNewToolbarBar, css::uno::Reference< css::lang::XSingleComponentFactory > &rFactory, SvxConfigEntry const *pToolbar)
 

Private Attributes

std::unique_ptr< SvxConfigEntrypRootEntry
 
OUString m_aDescriptorContainer
 
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 530 of file cfg.hxx.

Constructor & Destructor Documentation

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

Definition at line 1908 of file cfg.cxx.

References m_xPersistentWindowState.

ToolbarSaveInData::~ToolbarSaveInData ( )
overridevirtual

Definition at line 1926 of file cfg.cxx.

Member Function Documentation

bool ToolbarSaveInData::Apply ( )
overridevirtual

Implements SaveInData.

Definition at line 2351 of file cfg.cxx.

void ToolbarSaveInData::ApplyToolbar ( css::uno::Reference< css::container::XIndexContainer > const &  rNewToolbarBar,
css::uno::Reference< css::lang::XSingleComponentFactory > &  rFactory,
SvxConfigEntry const *  pToolbar 
)
private
void ToolbarSaveInData::ApplyToolbar ( SvxConfigEntry pToolbar)
void ToolbarSaveInData::CreateToolbar ( SvxConfigEntry pToolbar)
SvxEntries * ToolbarSaveInData::GetEntries ( )
overridevirtual
sal_Int32 ToolbarSaveInData::GetSystemStyle ( const OUString &  rResourceURL)

Definition at line 1930 of file cfg.cxx.

References i, ITEM_DESCRIPTOR_STYLE, m_xPersistentWindowState, Name, result, and uno::Any::Value.

Referenced by GetEntries().

OUString ToolbarSaveInData::GetSystemUIName ( const OUString &  rResourceURL)
bool ToolbarSaveInData::HasSettings ( )
overridevirtual

Implements SaveInData.

Definition at line 2309 of file cfg.cxx.

References GetEntries().

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

Implements SaveInData.

Definition at line 2297 of file cfg.cxx.

References GetEntries().

void ToolbarSaveInData::LoadToolbar ( const css::uno::Reference< css::container::XIndexAccess > &  xToolBarSettings,
SvxConfigEntry const *  pParentData 
)
private
void ToolbarSaveInData::RemoveToolbar ( SvxConfigEntry pToolbar)
void ToolbarSaveInData::Reset ( void  )
overridevirtual
void ToolbarSaveInData::RestoreToolbar ( SvxConfigEntry pToolbar)
void ToolbarSaveInData::SetEntries ( std::unique_ptr< SvxEntries pNewEntries)
overridevirtual

Implements SaveInData.

Definition at line 2291 of file cfg.cxx.

References pRootEntry.

void ToolbarSaveInData::SetSystemStyle ( const OUString &  rResourceURL,
sal_Int32  nStyle 
)

Definition at line 2018 of file cfg.cxx.

References i, ITEM_DESCRIPTOR_STYLE, m_xPersistentWindowState, Name, SAL_WARN, and uno::Any::Value.

Referenced by IMPL_LINK().

void ToolbarSaveInData::SetSystemStyle ( const css::uno::Reference< css::frame::XFrame > &  xFrame,
const OUString &  rResourceURL,
sal_Int32  nStyle 
)

Member Data Documentation

OUString ToolbarSaveInData::m_aDescriptorContainer
private

Definition at line 535 of file cfg.hxx.

css::uno::Reference< css::container::XNameAccess > ToolbarSaveInData::m_xPersistentWindowState
private
std::unique_ptr<SvxConfigEntry> ToolbarSaveInData::pRootEntry
private

Definition at line 534 of file cfg.hxx.

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


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