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 (const OUString &, 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)
 DECL_LINK (OpenCurrentHdl, weld::TreeView &, void)

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, OUString const &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

Detailed Description

Definition at line 182 of file cfgutil.hxx.

Constructor & Destructor Documentation

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

Definition at line 415 of file cfgutil.cxx.

References LINK, and m_xTreeView.

CuiConfigGroupListBox::~CuiConfigGroupListBox ( )

Definition at line 438 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 217 of file cfgutil.hxx.

CuiConfigGroupListBox::DECL_LINK ( ExpandingHdl  ,
const weld::TreeIter ,
CuiConfigGroupListBox::DECL_LINK ( OpenCurrentHdl  ,
weld::TreeView ,
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 

Definition at line 506 of file cfgutil.cxx.

References aArr, GetImage(), getType(), GROUP_SCRIPTCONTAINER, m_xContext, m_xFrame, m_xTreeView, sId, and xImp.

Referenced by Init().

weld::TreeView& CuiConfigGroupListBox::get_widget ( )

Definition at line 219 of file cfgutil.hxx.

References m_xTreeView.

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

Definition at line 758 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 463 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 ( const OUString &  rBasic,
const OUString &  rMacro 
void CuiConfigGroupListBox::set_sensitive ( bool  bSensitive)

Definition at line 216 of file cfgutil.hxx.

void CuiConfigGroupListBox::set_size_request ( int  nWidth,
int  nHeight 

Definition at line 218 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetFunctionListBox ( CuiConfigFunctionListBox pBox)

Definition at line 227 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 358 of file cfgutil.cxx.

References m_pStylesInfo.

Member Data Documentation

SfxGroupInfoArr_Impl CuiConfigGroupListBox::aArr

Definition at line 186 of file cfgutil.hxx.

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

CuiConfigFunctionListBox* CuiConfigGroupListBox::m_pFunctionListBox

Definition at line 185 of file cfgutil.hxx.

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

SfxStylesInfo_Impl* CuiConfigGroupListBox::m_pStylesInfo

Definition at line 193 of file cfgutil.hxx.

Referenced by GroupSelected(), and SetStylesInfo().

OUString CuiConfigGroupListBox::m_sModuleLongName

Definition at line 187 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

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

Definition at line 188 of file cfgutil.hxx.

Referenced by FillScriptList(), and Init().

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

Definition at line 189 of file cfgutil.hxx.

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

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

Definition at line 190 of file cfgutil.hxx.

Referenced by Init().

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

Definition at line 191 of file cfgutil.hxx.

Referenced by Init(), and InitModule().

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

Definition at line 192 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

std::unique_ptr<SvxConfigGroupBoxResource_Impl> CuiConfigGroupListBox::xImp

Definition at line 184 of file cfgutil.hxx.

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

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