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

#include <CommandCategoryListBox.hxx>

Collaboration diagram for CommandCategoryListBox:
[legend]

Public Member Functions

 CommandCategoryListBox (std::unique_ptr< weld::ComboBox > xControl)
 
 ~CommandCategoryListBox ()
 
void ClearAll ()
 
void Init (const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &sModuleLongName)
 
void FillFunctionsList (const css::uno::Sequence< css::frame::DispatchInformation > &xCommands, CuiConfigFunctionListBox *pFunctionListBox, const OUString &filterTerm, SaveInData *pCurrentSaveInData)
 
OUString getCommandName (const OUString &sCommand)
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
void categorySelected (CuiConfigFunctionListBox *pFunctionListBox, const OUString &filterTerm, SaveInData *pCurrentSaveInData=nullptr)
 Signals that a command category has been selected. More...
 
void SetStylesInfo (SfxStylesInfo_Impl *pStyles)
 
void addChildren (const weld::TreeIter *parentEntry, const css::uno::Reference< com::sun::star::script::browse::XBrowseNode > &parentNode, CuiConfigFunctionListBox *pFunctionListBox, const OUString &filterTerm, SaveInData *pCurrentSaveInData, std::vector< std::unique_ptr< weld::TreeIter > > &rNodesToExpand)
 
void set_visible (bool bVisible)
 

Private Attributes

SfxGroupInfoArr_Impl m_aGroupInfo
 
OUString m_sModuleLongName
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::container::XNameAccess > m_xGlobalCategoryInfo
 
css::uno::Reference< css::container::XNameAccess > m_xModuleCategoryInfo
 
css::uno::Reference< css::container::XNameAccess > m_xUICmdDescription
 
i18nutil::SearchOptions2 m_searchOptions
 
SfxStylesInfo_ImplpStylesInfo
 
SfxStylesInfo_Impl m_aStylesInfo
 
std::unique_ptr< weld::ComboBoxm_xControl
 

Detailed Description

Definition at line 25 of file CommandCategoryListBox.hxx.

Constructor & Destructor Documentation

◆ CommandCategoryListBox()

CommandCategoryListBox::CommandCategoryListBox ( std::unique_ptr< weld::ComboBox xControl)

◆ ~CommandCategoryListBox()

CommandCategoryListBox::~CommandCategoryListBox ( )

Definition at line 65 of file CommandCategoryListBox.cxx.

References ClearAll().

Member Function Documentation

◆ addChildren()

void CommandCategoryListBox::addChildren ( const weld::TreeIter parentEntry,
const css::uno::Reference< com::sun::star::script::browse::XBrowseNode > &  parentNode,
CuiConfigFunctionListBox pFunctionListBox,
const OUString &  filterTerm,
SaveInData pCurrentSaveInData,
std::vector< std::unique_ptr< weld::TreeIter > > &  rNodesToExpand 
)

◆ categorySelected()

void CommandCategoryListBox::categorySelected ( CuiConfigFunctionListBox pFunctionListBox,
const OUString &  filterTerm,
SaveInData pCurrentSaveInData = nullptr 
)

◆ ClearAll()

void CommandCategoryListBox::ClearAll ( )

◆ connect_changed()

void CommandCategoryListBox::connect_changed ( const Link< weld::ComboBox &, void > &  rLink)
inline

Definition at line 56 of file CommandCategoryListBox.hxx.

References m_xControl.

◆ FillFunctionsList()

void CommandCategoryListBox::FillFunctionsList ( const css::uno::Sequence< css::frame::DispatchInformation > &  xCommands,
CuiConfigFunctionListBox pFunctionListBox,
const OUString &  filterTerm,
SaveInData pCurrentSaveInData 
)

◆ getCommandName()

OUString CommandCategoryListBox::getCommandName ( const OUString &  sCommand)

◆ Init()

void CommandCategoryListBox::Init ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::frame::XFrame > &  xFrame,
const OUString &  sModuleLongName 
)

◆ set_visible()

void CommandCategoryListBox::set_visible ( bool  bVisible)
inline

Definition at line 79 of file CommandCategoryListBox.hxx.

References bVisible, and m_xControl.

◆ SetStylesInfo()

void CommandCategoryListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 513 of file CommandCategoryListBox.cxx.

References pStylesInfo.

Referenced by Init().

Member Data Documentation

◆ m_aGroupInfo

SfxGroupInfoArr_Impl CommandCategoryListBox::m_aGroupInfo
private

◆ m_aStylesInfo

SfxStylesInfo_Impl CommandCategoryListBox::m_aStylesInfo
private

Definition at line 39 of file CommandCategoryListBox.hxx.

Referenced by Init().

◆ m_searchOptions

i18nutil::SearchOptions2 CommandCategoryListBox::m_searchOptions
private

◆ m_sModuleLongName

OUString CommandCategoryListBox::m_sModuleLongName
private

Definition at line 28 of file CommandCategoryListBox.hxx.

Referenced by FillFunctionsList(), getCommandName(), and Init().

◆ m_xContext

css::uno::Reference<css::uno::XComponentContext> CommandCategoryListBox::m_xContext
private

Definition at line 29 of file CommandCategoryListBox.hxx.

Referenced by categorySelected(), and Init().

◆ m_xControl

std::unique_ptr<weld::ComboBox> CommandCategoryListBox::m_xControl
private

◆ m_xFrame

css::uno::Reference<css::frame::XFrame> CommandCategoryListBox::m_xFrame
private

Definition at line 30 of file CommandCategoryListBox.hxx.

Referenced by categorySelected(), FillFunctionsList(), and Init().

◆ m_xGlobalCategoryInfo

css::uno::Reference<css::container::XNameAccess> CommandCategoryListBox::m_xGlobalCategoryInfo
private

Definition at line 31 of file CommandCategoryListBox.hxx.

Referenced by Init().

◆ m_xModuleCategoryInfo

css::uno::Reference<css::container::XNameAccess> CommandCategoryListBox::m_xModuleCategoryInfo
private

Definition at line 32 of file CommandCategoryListBox.hxx.

Referenced by Init().

◆ m_xUICmdDescription

css::uno::Reference<css::container::XNameAccess> CommandCategoryListBox::m_xUICmdDescription
private

Definition at line 33 of file CommandCategoryListBox.hxx.

Referenced by getCommandName(), and Init().

◆ pStylesInfo

SfxStylesInfo_Impl* CommandCategoryListBox::pStylesInfo
private

Definition at line 38 of file CommandCategoryListBox.hxx.

Referenced by categorySelected(), and SetStylesInfo().


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