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

#include <SvxToolbarConfigPage.hxx>

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

Public Member Functions

 SvxToolbarConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet)
 
virtual ~SvxToolbarConfigPage () override
 
void AddFunction (int nTarget=-1)
 
void MoveEntry (bool bMoveUp) 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 ()
 
const OUString & GetAppName () const
 
const OUString & GetFileName () const
 
int AddFunction (int nTarget, bool bAllowDuplicates)
 
virtual void MoveEntry (bool bMoveUp)
 
bool MoveEntryData (int SourceEntry, int nTargetEntry)
 
bool FillItemSet (SfxItemSet *) override
 
void Reset (const SfxItemSet *) override
 
virtual void DeleteSelectedContent ()=0
 
virtual void DeleteSelectedTopLevel ()=0
 
virtual void ListModified ()
 
SvxConfigEntryGetTopLevelSelection ()
 
OUString GetScriptURL () const
 
OUString GetSelectedDisplayName () const
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
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
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Private Member Functions

 DECL_LINK (SelectToolbarEntry, weld::TreeView &, void)
 
 DECL_LINK (MoveHdl, weld::Button &, void)
 
 DECL_LINK (GearHdl, const OUString &, void)
 
 DECL_LINK (SelectCategory, weld::ComboBox &, void)
 
 DECL_LINK (ContentContextMenuHdl, const CommandEvent &, bool)
 
 DECL_LINK (FunctionContextMenuHdl, const CommandEvent &, bool)
 
 DECL_LINK (AddCommandHdl, weld::Button &, void)
 
 DECL_LINK (RemoveCommandHdl, weld::Button &, void)
 
 DECL_LINK (InsertHdl, const OUString &, void)
 
 DECL_LINK (ModifyItemHdl, const OUString &, void)
 
 DECL_LINK (ResetToolbarHdl, weld::Button &, void)
 
virtual void ListModified () override
 
void UpdateButtonStates () override
 
short QueryReset () override
 
void Init () override
 
void DeleteSelectedContent () override
 
void DeleteSelectedTopLevel () override
 
virtual void SelectElement () override
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxConfigPage
static bool CanConfig (std::u16string_view 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 (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &)
 
 DECL_LINK (MoveHdl, weld::Button &, void)
 
 DECL_LINK (SelectFunctionHdl, weld::TreeView &, void)
 
 DECL_LINK (FunctionDoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (SelectSaveInLocation, weld::ComboBox &, void)
 
 DECL_LINK (SelectElementHdl, weld::ComboBox &, void)
 
 DECL_LINK (ImplUpdateDataHdl, Timer *, void)
 
 DECL_LINK (FocusOut_Impl, weld::Widget &, void)
 
virtual SaveInDataCreateSaveInData (const css::uno::Reference< css::ui::XUIConfigurationManager > &, const css::uno::Reference< css::ui::XUIConfigurationManager > &, const OUString &aModuleId, bool docConfig)=0
 
virtual void Init ()=0
 
virtual void UpdateButtonStates ()=0
 
virtual short QueryReset ()=0
 
virtual void SelectElement ()=0
 
int AppendEntry (SvxConfigEntry *pNewEntryData, int nTarget)
 
void AddSubMenusToUI (std::u16string_view rBaseTitle, SvxConfigEntry const *pParentData)
 
void InsertEntryIntoUI (SvxConfigEntry *pNewEntryData, weld::TreeView &rTreeView, int nPos, bool bMenu=false)
 
void InsertEntryIntoUI (SvxConfigEntry *pNewEntryData, weld::TreeView &rTreeView, weld::TreeIter &rIter, bool bMenu=false)
 
void InsertEntryIntoNotebookbarTabUI (std::u16string_view sClassId, const OUString &sUIItemId, const OUString &sUIItemCommand, weld::TreeView &rTreeView, const weld::TreeIter &rIter)
 
SvxEntriesFindParentForChild (SvxEntries *pParentEntries, SvxConfigEntry *pChildData)
 
void ReloadTopLevelListBox (SvxConfigEntry const *pSelection=nullptr)
 
SvxConfigEntryCreateCommandFromSelection (const OUString &aURL)
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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
 
- Static Protected Member Functions inherited from SvxConfigPage
static bool IsCommandInMenuList (const SvxConfigEntry *pEntryData, const SvxEntries *pEntries)
 
- 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
 
OUString m_aModuleId
 
std::unique_ptr< CommandCategoryListBoxm_xCommandCategoryListBox
 
std::unique_ptr< CuiConfigFunctionListBoxm_xFunctions
 
std::unique_ptr< weld::Labelm_xCategoryLabel
 
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< SvxConfigPageFunctionDropTargetm_xDropTargetHelper
 
std::unique_ptr< weld::Buttonm_xMoveUpButton
 
std::unique_ptr< weld::Buttonm_xMoveDownButton
 
std::unique_ptr< weld::ComboBoxm_xSaveInListBox
 
std::unique_ptr< weld::Widgetm_xCustomizeBox
 
std::unique_ptr< weld::MenuButtonm_xInsertBtn
 
std::unique_ptr< weld::MenuButtonm_xModifyBtn
 
std::unique_ptr< weld::Buttonm_xResetBtn
 
std::unique_ptr< weld::Widgetm_xCommandButtons
 
std::unique_ptr< weld::Buttonm_xAddCommandButton
 
std::unique_ptr< weld::Buttonm_xRemoveCommandButton
 
OUString m_sAppName
 
OUString m_sFileName
 

Detailed Description

Definition at line 29 of file SvxToolbarConfigPage.hxx.

Constructor & Destructor Documentation

◆ SvxToolbarConfigPage()

SvxToolbarConfigPage::SvxToolbarConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rItemSet 
)

◆ ~SvxToolbarConfigPage()

SvxToolbarConfigPage::~SvxToolbarConfigPage ( )
overridevirtual

Definition at line 137 of file SvxToolbarConfigPage.cxx.

References i, SvxConfigPage::m_xSaveInListBox, nCount, and pData.

Member Function Documentation

◆ AddFunction()

void SvxToolbarConfigPage::AddFunction ( int  nTarget = -1)

◆ CreateSaveInData()

SaveInData * SvxToolbarConfigPage::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 275 of file SvxToolbarConfigPage.cxx.

◆ DECL_LINK() [1/11]

SvxToolbarConfigPage::DECL_LINK ( AddCommandHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/11]

SvxToolbarConfigPage::DECL_LINK ( ContentContextMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [3/11]

SvxToolbarConfigPage::DECL_LINK ( FunctionContextMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [4/11]

SvxToolbarConfigPage::DECL_LINK ( GearHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [5/11]

SvxToolbarConfigPage::DECL_LINK ( InsertHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [6/11]

SvxToolbarConfigPage::DECL_LINK ( ModifyItemHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [7/11]

SvxToolbarConfigPage::DECL_LINK ( MoveHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/11]

SvxToolbarConfigPage::DECL_LINK ( RemoveCommandHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [9/11]

SvxToolbarConfigPage::DECL_LINK ( ResetToolbarHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [10/11]

SvxToolbarConfigPage::DECL_LINK ( SelectCategory  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [11/11]

SvxToolbarConfigPage::DECL_LINK ( SelectToolbarEntry  ,
weld::TreeView ,
void   
)
private

◆ DeleteSelectedContent()

void SvxToolbarConfigPage::DeleteSelectedContent ( )
overrideprivatevirtual

◆ DeleteSelectedTopLevel()

void SvxToolbarConfigPage::DeleteSelectedTopLevel ( )
overrideprivatevirtual

◆ Init()

void SvxToolbarConfigPage::Init ( void  )
overrideprivatevirtual

◆ ListModified()

void SvxToolbarConfigPage::ListModified ( )
overrideprivatevirtual

◆ MoveEntry()

void SvxToolbarConfigPage::MoveEntry ( bool  bMoveUp)
overridevirtual

◆ QueryReset()

short SvxToolbarConfigPage::QueryReset ( )
overrideprivatevirtual

◆ SelectElement()

void SvxToolbarConfigPage::SelectElement ( )
overrideprivatevirtual

◆ UpdateButtonStates()

void SvxToolbarConfigPage::UpdateButtonStates ( )
overrideprivatevirtual

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