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

#include <SvxMenuConfigPage.hxx>

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

Public Member Functions

 SvxMenuConfigPage (TabPageParent pParent, const SfxItemSet &rItemSet, bool bIsMenuBar=true)
 
virtual ~SvxMenuConfigPage () override
 
virtual void dispose () override
 
SaveInDataCreateSaveInData (const css::uno::Reference< css::ui::XUIConfigurationManager > &, const css::uno::Reference< css::ui::XUIConfigurationManager > &, const OUString &aModuleId, bool docConfig) override
 
- Public Member Functions inherited from SvxConfigPage
virtual ~SvxConfigPage () override
 
SaveInDataGetSaveInData ()
 
int AddFunction (int nTarget=-1, bool bFront=false, bool bAllowDuplicates=false)
 
virtual void MoveEntry (bool bMoveUp)
 
bool MoveEntryData (int SourceEntry, int nTargetEntry)
 
bool FillItemSet (SfxItemSet *) override
 
void Reset (const SfxItemSet *) override
 
SvxConfigEntryGetTopLevelSelection ()
 
OUString GetScriptURL () const
 
OUString GetSelectedDisplayName ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame ()
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Private Member Functions

 DECL_LINK (SelectMenu, weld::ComboBox &, void)
 
 DECL_LINK (SelectMenuEntry, weld::TreeView &, void)
 
 DECL_LINK (GearHdl, const OString &, void)
 
 DECL_LINK (SelectCategory, weld::ComboBox &, void)
 
 DECL_LINK (AddCommandHdl, weld::Button &, void)
 
 DECL_LINK (RemoveCommandHdl, weld::Button &, void)
 
 DECL_LINK (InsertHdl, const OString &, void)
 
 DECL_LINK (ModifyItemHdl, const OString &, void)
 
 DECL_LINK (ResetMenuHdl, weld::Button &, void)
 
 DECL_LINK (MenuEntriesSizeAllocHdl, const Size &, void)
 
 DECL_LINK (ListModifiedHdl, weld::TreeView &, void)
 
void Init () override
 
void UpdateButtonStates () override
 
short QueryReset () override
 
void DeleteSelectedContent () override
 
void DeleteSelectedTopLevel () override
 
virtual void SelectElement () override
 

Private Attributes

bool m_bIsMenuBar
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxConfigPage
static bool CanConfig (const OUString &rModuleId)
 
static OUString GetFrameWithDefaultAndIdentify (css::uno::Reference< css::frame::XFrame > &_inout_rxFrame)
 identifies the module in the given frame. More...
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
- Protected Member Functions inherited from SvxConfigPage
 SvxConfigPage (TabPageParent, const SfxItemSet &)
 
 DECL_LINK (MoveHdl, weld::Button &, void)
 
 DECL_LINK (SelectFunctionHdl, weld::TreeView &, void)
 
 DECL_LINK (FunctionDoubleClickHdl, weld::TreeView &, void)
 
 DECL_LINK (SelectSaveInLocation, weld::ComboBox &, void)
 
 DECL_LINK (SelectElementHdl, weld::ComboBox &, void)
 
 DECL_LINK (ImplUpdateDataHdl, Timer *, void)
 
 DECL_LINK (FocusOut_Impl, weld::Widget &, void)
 
int InsertEntry (SvxConfigEntry *pNewEntryData, int nTarget, bool bFront=false)
 
void AddSubMenusToUI (const OUString &rBaseTitle, SvxConfigEntry const *pParentData)
 
void InsertEntryIntoUI (SvxConfigEntry *pNewEntryData, int nPos, int nStartCol)
 
void InsertEntryIntoNotebookbarTabUI (OUString &sClassId, OUString &sUIItemId, OUString &sUIItemCommand, int nPos, int nStartCol)
 
SvxEntriesFindParentForChild (SvxEntries *pParentEntries, SvxConfigEntry *pChildData)
 
void ReloadTopLevelListBox (SvxConfigEntry const *pSelection=nullptr)
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SvxConfigPage
OUString m_aURLToSelect
 the ResourceURL to select when opening the dialog More...
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
std::unique_ptr< CommandCategoryListBoxm_xCommandCategoryListBox
 
std::unique_ptr< CuiConfigFunctionListBoxm_xFunctions
 
std::unique_ptr< weld::Labelm_xCategoryLabel
 
std::unique_ptr< weld::ComboBoxm_xCategoryListBox
 
std::unique_ptr< weld::Labelm_xDescriptionFieldLb
 
std::unique_ptr< weld::TextViewm_xDescriptionField
 
std::unique_ptr< weld::Labelm_xLeftFunctionLabel
 
std::unique_ptr< weld::Entrym_xSearchEdit
 
std::unique_ptr< weld::Labelm_xSearchLabel
 
std::unique_ptr< weld::Labelm_xCustomizeLabel
 
std::unique_ptr< weld::ComboBoxm_xTopLevelListBox
 
std::unique_ptr< weld::MenuButtonm_xGearBtn
 
std::unique_ptr< SvxMenuEntriesListBoxm_xContentsListBox
 
std::unique_ptr< weld::Buttonm_xMoveUpButton
 
std::unique_ptr< weld::Buttonm_xMoveDownButton
 
std::unique_ptr< weld::ComboBoxm_xSaveInListBox
 
std::unique_ptr< weld::MenuButtonm_xInsertBtn
 
std::unique_ptr< weld::MenuButtonm_xModifyBtn
 
std::unique_ptr< weld::Buttonm_xResetBtn
 
std::unique_ptr< weld::Buttonm_xAddCommandButton
 
std::unique_ptr< weld::Buttonm_xRemoveCommandButton
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 40 of file SvxMenuConfigPage.hxx.

Constructor & Destructor Documentation

SvxMenuConfigPage::SvxMenuConfigPage ( TabPageParent  pParent,
const SfxItemSet rItemSet,
bool  bIsMenuBar = true 
)
SvxMenuConfigPage::~SvxMenuConfigPage ( )
overridevirtual

Definition at line 189 of file SvxMenuConfigPage.cxx.

Member Function Documentation

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

Implements SvxConfigPage.

Definition at line 570 of file SvxMenuConfigPage.cxx.

References m_bIsMenuBar.

SvxMenuConfigPage::DECL_LINK ( SelectMenu  ,
weld::ComboBox ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( SelectMenuEntry  ,
weld::TreeView ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( GearHdl  ,
const OString &  ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( SelectCategory  ,
weld::ComboBox ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( AddCommandHdl  ,
weld::Button ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( RemoveCommandHdl  ,
weld::Button ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( InsertHdl  ,
const OString &  ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( ModifyItemHdl  ,
const OString &  ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( ResetMenuHdl  ,
weld::Button ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( MenuEntriesSizeAllocHdl  ,
const Size ,
void   
)
private
SvxMenuConfigPage::DECL_LINK ( ListModifiedHdl  ,
weld::TreeView ,
void   
)
private
void SvxMenuConfigPage::DeleteSelectedContent ( )
overrideprivatevirtual
void SvxMenuConfigPage::DeleteSelectedTopLevel ( )
overrideprivatevirtual
void SvxMenuConfigPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 213 of file SvxMenuConfigPage.cxx.

References SfxTabPage::dispose(), i, and SvxConfigPage::m_xSaveInListBox.

void SvxMenuConfigPage::Init ( void  )
overrideprivatevirtual
short SvxMenuConfigPage::QueryReset ( )
overrideprivatevirtual
void SvxMenuConfigPage::SelectElement ( )
overrideprivatevirtual
void SvxMenuConfigPage::UpdateButtonStates ( )
overrideprivatevirtual

Member Data Documentation

bool SvxMenuConfigPage::m_bIsMenuBar
private

Definition at line 43 of file SvxMenuConfigPage.hxx.

Referenced by CreateSaveInData(), and UpdateButtonStates().


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