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

#include <cfgutil.hxx>

Collaboration diagram for CuiConfigGroupListBox:

Public Member Functions

 CuiConfigGroupListBox (std::unique_ptr< weld::TreeView > xTreeView)
void set_sensitive (bool bSensitive)
void connect_changed (const Link< weld::TreeView &, void > &rLink)
void set_size_request (int nWidth, int nHeight)
weld::TreeViewget_widget ()
 ~CuiConfigGroupListBox ()
void ClearAll ()
void Init (const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &sModuleLongName, bool bEventMode)
void SetFunctionListBox (CuiConfigFunctionListBox *pBox)
void GroupSelected ()
void SelectMacro (const SfxMacroInfoItem *)
void SelectMacro (std::u16string_view, const OUString &)
void SetStylesInfo (SfxStylesInfo_Impl *pStyles)

Private Member Functions

void InitModule ()
void FillScriptList (const css::uno::Reference< css::script::browse::XBrowseNode > &xRootNode, const weld::TreeIter *pParentEntry, bool bCheapChildrenOnDemand)
void FillFunctionsList (const css::uno::Sequence< css::frame::DispatchInformation > &xCommands)
OUString MapCommand2UIName (const OUString &sCommand)
 DECL_LINK (ExpandingHdl, const weld::TreeIter &, bool)

Static Private Member Functions

static OUString GetImage (const css::uno::Reference< css::script::browse::XBrowseNode > &node, css::uno::Reference< css::uno::XComponentContext > const &xCtx, bool bIsRootNode)
static css::uno::Reference< css::uno::XInterface > getDocumentModel (css::uno::Reference< css::uno::XComponentContext > const &xCtx, std::u16string_view docName)

Private Attributes

std::unique_ptr< SvxConfigGroupBoxResource_ImplxImp
SfxGroupInfoArr_Impl aArr
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
std::unique_ptr< weld::TreeViewm_xTreeView
std::unique_ptr< weld::TreeIterm_xScratchIter

Detailed Description

Definition at line 179 of file cfgutil.hxx.

Constructor & Destructor Documentation

CuiConfigGroupListBox::CuiConfigGroupListBox ( std::unique_ptr< weld::TreeView xTreeView)

Definition at line 419 of file cfgutil.cxx.

References LINK, m_xTreeView, and m_xTreeView.

CuiConfigGroupListBox::~CuiConfigGroupListBox ( )

Definition at line 430 of file cfgutil.cxx.

References ClearAll().

Member Function Documentation

void CuiConfigGroupListBox::ClearAll ( )
void CuiConfigGroupListBox::connect_changed ( const Link< weld::TreeView &, void > &  rLink)

Definition at line 214 of file cfgutil.hxx.

CuiConfigGroupListBox::DECL_LINK ( ExpandingHdl  ,
const weld::TreeIter ,
void CuiConfigGroupListBox::FillFunctionsList ( const css::uno::Sequence< css::frame::DispatchInformation > &  xCommands)
void CuiConfigGroupListBox::FillScriptList ( const css::uno::Reference< css::script::browse::XBrowseNode > &  xRootNode,
const weld::TreeIter pParentEntry,
bool  bCheapChildrenOnDemand 
weld::TreeView& CuiConfigGroupListBox::get_widget ( )

Definition at line 216 of file cfgutil.hxx.

References m_xTreeView.

Reference< XInterface > CuiConfigGroupListBox::getDocumentModel ( css::uno::Reference< css::uno::XComponentContext > const &  xCtx,
std::u16string_view  docName 

Definition at line 762 of file cfgutil.cxx.

References model, and xModel.

Referenced by GetImage().

OUString CuiConfigGroupListBox::GetImage ( const css::uno::Reference< css::script::browse::XBrowseNode > &  node,
css::uno::Reference< css::uno::XComponentContext > const &  xCtx,
bool  bIsRootNode 
void CuiConfigGroupListBox::GroupSelected ( )
void CuiConfigGroupListBox::Init ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::frame::XFrame > &  xFrame,
const OUString &  sModuleLongName,
bool  bEventMode 
void CuiConfigGroupListBox::InitModule ( )

Definition at line 465 of file cfgutil.cxx.

References aArr, CuiResId(), GROUP_ALLFUNCTIONS, GROUP_FUNCTION, m_xFrame, m_xModuleCategoryInfo, and m_xTreeView.

Referenced by Init().

OUString CuiConfigGroupListBox::MapCommand2UIName ( const OUString &  sCommand)
void CuiConfigGroupListBox::SelectMacro ( const SfxMacroInfoItem pItem)
void CuiConfigGroupListBox::SelectMacro ( std::u16string_view  rBasic,
const OUString &  rMacro 
void CuiConfigGroupListBox::set_sensitive ( bool  bSensitive)

Definition at line 213 of file cfgutil.hxx.

void CuiConfigGroupListBox::set_size_request ( int  nWidth,
int  nHeight 

Definition at line 215 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetFunctionListBox ( CuiConfigFunctionListBox pBox)

Definition at line 224 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 362 of file cfgutil.cxx.

References m_pStylesInfo.

Member Data Documentation

SfxGroupInfoArr_Impl CuiConfigGroupListBox::aArr

Definition at line 183 of file cfgutil.hxx.

Referenced by ClearAll(), FillFunctionsList(), FillScriptList(), Init(), and InitModule().

CuiConfigFunctionListBox* CuiConfigGroupListBox::m_pFunctionListBox

Definition at line 182 of file cfgutil.hxx.

Referenced by FillFunctionsList(), GroupSelected(), and SelectMacro().

SfxStylesInfo_Impl* CuiConfigGroupListBox::m_pStylesInfo

Definition at line 190 of file cfgutil.hxx.

Referenced by GroupSelected(), and SetStylesInfo().

OUString CuiConfigGroupListBox::m_sModuleLongName

Definition at line 184 of file cfgutil.hxx.

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

css::uno::Reference< css::uno::XComponentContext > CuiConfigGroupListBox::m_xContext

Definition at line 185 of file cfgutil.hxx.

Referenced by FillScriptList(), and Init().

css::uno::Reference< css::frame::XFrame > CuiConfigGroupListBox::m_xFrame

Definition at line 186 of file cfgutil.hxx.

Referenced by FillFunctionsList(), FillScriptList(), GroupSelected(), Init(), and InitModule().

css::uno::Reference< css::container::XNameAccess > CuiConfigGroupListBox::m_xGlobalCategoryInfo

Definition at line 187 of file cfgutil.hxx.

Referenced by Init().

css::uno::Reference< css::container::XNameAccess > CuiConfigGroupListBox::m_xModuleCategoryInfo

Definition at line 188 of file cfgutil.hxx.

Referenced by Init(), and InitModule().

std::unique_ptr<weld::TreeIter> CuiConfigGroupListBox::m_xScratchIter

Definition at line 192 of file cfgutil.hxx.

Referenced by FillScriptList().

std::unique_ptr<weld::TreeView> CuiConfigGroupListBox::m_xTreeView
css::uno::Reference< css::container::XNameAccess > CuiConfigGroupListBox::m_xUICmdDescription

Definition at line 189 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

std::unique_ptr<SvxConfigGroupBoxResource_Impl> CuiConfigGroupListBox::xImp

Definition at line 181 of file cfgutil.hxx.

Referenced by FillScriptList(), Init(), and SelectMacro().

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