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 (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)
 

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 26 of file CommandCategoryListBox.hxx.

Constructor & Destructor Documentation

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

Definition at line 64 of file CommandCategoryListBox.cxx.

References ClearAll().

Member Function Documentation

void CommandCategoryListBox::addChildren ( 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 CommandCategoryListBox::categorySelected ( CuiConfigFunctionListBox pFunctionListBox,
const OUString &  filterTerm,
SaveInData pCurrentSaveInData = nullptr 
)
void CommandCategoryListBox::ClearAll ( )
void CommandCategoryListBox::connect_changed ( const Link< weld::ComboBox &, void > &  rLink)
inline

Definition at line 60 of file CommandCategoryListBox.hxx.

void CommandCategoryListBox::FillFunctionsList ( const css::uno::Sequence< css::frame::DispatchInformation > &  xCommands,
CuiConfigFunctionListBox pFunctionListBox,
const OUString &  filterTerm,
SaveInData pCurrentSaveInData 
)
OUString CommandCategoryListBox::getCommandName ( const OUString &  sCommand)
void CommandCategoryListBox::Init ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::frame::XFrame > &  xFrame,
const OUString &  sModuleLongName 
)
void CommandCategoryListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 480 of file CommandCategoryListBox.cxx.

References pStylesInfo.

Referenced by Init().

Member Data Documentation

SfxGroupInfoArr_Impl CommandCategoryListBox::m_aGroupInfo
private
SfxStylesInfo_Impl CommandCategoryListBox::m_aStylesInfo
private

Definition at line 40 of file CommandCategoryListBox.hxx.

Referenced by Init().

i18nutil::SearchOptions2 CommandCategoryListBox::m_searchOptions
private
OUString CommandCategoryListBox::m_sModuleLongName
private

Definition at line 29 of file CommandCategoryListBox.hxx.

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

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

Definition at line 30 of file CommandCategoryListBox.hxx.

Referenced by categorySelected(), and Init().

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

Definition at line 42 of file CommandCategoryListBox.hxx.

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

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

Definition at line 31 of file CommandCategoryListBox.hxx.

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

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

Definition at line 32 of file CommandCategoryListBox.hxx.

Referenced by Init().

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

Definition at line 33 of file CommandCategoryListBox.hxx.

Referenced by Init().

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

Definition at line 34 of file CommandCategoryListBox.hxx.

Referenced by getCommandName(), and Init().

SfxStylesInfo_Impl* CommandCategoryListBox::pStylesInfo
private

Definition at line 39 of file CommandCategoryListBox.hxx.

Referenced by categorySelected(), and SetStylesInfo().


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