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

#include <SvxNotebookbarConfigPage.hxx>

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

Classes

struct  CategoriesEntries
 
struct  NotebookbarEntries
 

Public Member Functions

 SvxNotebookbarConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet)
 
virtual ~SvxNotebookbarConfigPage () 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, bool bAllowDuplicates)
 
virtual void MoveEntry (bool bMoveUp)
 
bool MoveEntryData (int SourceEntry, int nTargetEntry)
 
bool FillItemSet (SfxItemSet *) override
 
void Reset (const SfxItemSet *) override
 
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
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static void FillFunctionsList (std::vector< NotebookbarEntries > &aEntries, std::vector< CategoriesEntries > &aCategoryList, OUString &sActiveCategory)
 
static void searchNodeandAttribute (std::vector< NotebookbarEntries > &aEntries, std::vector< CategoriesEntries > &aCategoryList, OUString &sActiveCategory, CategoriesEntries &aCurCategoryEntry, xmlNode *pNodePtr, bool isCategory)
 
static void getNodeValue (xmlNode *pNodePtr, NotebookbarEntries &aNodeEntries)
 
- 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)
 

Private Member Functions

void UpdateButtonStates () override
 
short QueryReset () override
 
void Init () override
 
void DeleteSelectedContent () override
 
void DeleteSelectedTopLevel () override
 
virtual void SelectElement () override
 
void SetElement ()
 

Additional Inherited Members

- 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)
 
int AppendEntry (SvxConfigEntry *pNewEntryData, int nTarget)
 
void AddSubMenusToUI (const OUString &rBaseTitle, SvxConfigEntry const *pParentData)
 
void InsertEntryIntoUI (SvxConfigEntry *pNewEntryData, int nPos, int nStartCol)
 
void InsertEntryIntoNotebookbarTabUI (const OUString &sClassId, const OUString &sUIItemId, const OUString &sUIItemCommand, int nPos, int nStartCol)
 
SvxEntriesFindParentForChild (SvxEntries *pParentEntries, SvxConfigEntry *pChildData)
 
void ReloadTopLevelListBox (SvxConfigEntry const *pSelection=nullptr)
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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::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::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
 

Detailed Description

Definition at line 31 of file SvxNotebookbarConfigPage.hxx.

Constructor & Destructor Documentation

SvxNotebookbarConfigPage::SvxNotebookbarConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rItemSet 
)
SvxNotebookbarConfigPage::~SvxNotebookbarConfigPage ( )
overridevirtual

Definition at line 161 of file SvxNotebookbarConfigPage.cxx.

Member Function Documentation

SaveInData * SvxNotebookbarConfigPage::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 189 of file SvxNotebookbarConfigPage.cxx.

void SvxNotebookbarConfigPage::DeleteSelectedContent ( )
overrideprivatevirtual

Implements SvxConfigPage.

Definition at line 165 of file SvxNotebookbarConfigPage.cxx.

void SvxNotebookbarConfigPage::DeleteSelectedTopLevel ( )
overrideprivatevirtual

Implements SvxConfigPage.

Definition at line 163 of file SvxNotebookbarConfigPage.cxx.

void SvxNotebookbarConfigPage::FillFunctionsList ( std::vector< NotebookbarEntries > &  aEntries,
std::vector< CategoriesEntries > &  aCategoryList,
OUString &  sActiveCategory 
)
static
void SvxNotebookbarConfigPage::getNodeValue ( xmlNode *  pNodePtr,
NotebookbarEntries aNodeEntries 
)
static
void SvxNotebookbarConfigPage::Init ( void  )
overrideprivatevirtual
short SvxNotebookbarConfigPage::QueryReset ( )
overrideprivatevirtual
void SvxNotebookbarConfigPage::searchNodeandAttribute ( std::vector< NotebookbarEntries > &  aEntries,
std::vector< CategoriesEntries > &  aCategoryList,
OUString &  sActiveCategory,
CategoriesEntries aCurCategoryEntry,
xmlNode *  pNodePtr,
bool  isCategory 
)
static
void SvxNotebookbarConfigPage::SelectElement ( )
overrideprivatevirtual
void SvxNotebookbarConfigPage::SetElement ( )
private
void SvxNotebookbarConfigPage::UpdateButtonStates ( )
overrideprivatevirtual

Implements SvxConfigPage.

Definition at line 198 of file SvxNotebookbarConfigPage.cxx.


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