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:
[legend]

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 SetStylesInfo (SfxStylesInfo_Impl *pStyles)
 

Private Member Functions

sal_Int32 InitModule ()
 
void FillScriptList (const css::uno::Reference< css::script::browse::XBrowseNode > &xRootNode, const weld::TreeIter *pParentEntry)
 
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
 
CuiConfigFunctionListBoxm_pFunctionListBox
 
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
 
SfxStylesInfo_Implm_pStylesInfo
 
std::unique_ptr< weld::TreeViewm_xTreeView
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 

Detailed Description

Definition at line 183 of file cfgutil.hxx.

Constructor & Destructor Documentation

◆ CuiConfigGroupListBox()

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

Definition at line 426 of file cfgutil.cxx.

References LINK, and m_xTreeView.

◆ ~CuiConfigGroupListBox()

CuiConfigGroupListBox::~CuiConfigGroupListBox ( )

Definition at line 437 of file cfgutil.cxx.

References ClearAll().

Member Function Documentation

◆ ClearAll()

void CuiConfigGroupListBox::ClearAll ( )

Definition at line 442 of file cfgutil.cxx.

References aArr, FUNCTION_SCRIPT, GROUP_SCRIPTCONTAINER, GROUP_STYLES, i, m_xTreeView, nCount, and pData.

Referenced by Init(), and ~CuiConfigGroupListBox().

◆ connect_changed()

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

Definition at line 218 of file cfgutil.hxx.

References m_xTreeView.

◆ DECL_LINK()

CuiConfigGroupListBox::DECL_LINK ( ExpandingHdl  ,
const weld::TreeIter ,
bool   
)
private

◆ FillFunctionsList()

void CuiConfigGroupListBox::FillFunctionsList ( const css::uno::Sequence< css::frame::DispatchInformation > &  xCommands)
private

◆ FillScriptList()

void CuiConfigGroupListBox::FillScriptList ( const css::uno::Reference< css::script::browse::XBrowseNode > &  xRootNode,
const weld::TreeIter pParentEntry 
)
private

◆ get_widget()

weld::TreeView & CuiConfigGroupListBox::get_widget ( )
inline

Definition at line 220 of file cfgutil.hxx.

References m_xTreeView.

◆ getDocumentModel()

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

Definition at line 778 of file cfgutil.cxx.

References xModel.

Referenced by GetImage().

◆ GetImage()

OUString CuiConfigGroupListBox::GetImage ( const css::uno::Reference< css::script::browse::XBrowseNode > &  node,
css::uno::Reference< css::uno::XComponentContext > const &  xCtx,
bool  bIsRootNode 
)
staticprivate

◆ GroupSelected()

void CuiConfigGroupListBox::GroupSelected ( )

◆ Init()

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

◆ InitModule()

sal_Int32 CuiConfigGroupListBox::InitModule ( )
private

Definition at line 472 of file cfgutil.cxx.

References aArr, GROUP_FUNCTION, m_xFrame, m_xModuleCategoryInfo, m_xTreeView, and weld::toId().

Referenced by Init().

◆ MapCommand2UIName()

OUString CuiConfigGroupListBox::MapCommand2UIName ( const OUString &  sCommand)
private

◆ set_sensitive()

void CuiConfigGroupListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 217 of file cfgutil.hxx.

References m_xTreeView.

◆ set_size_request()

void CuiConfigGroupListBox::set_size_request ( int  nWidth,
int  nHeight 
)
inline

Definition at line 219 of file cfgutil.hxx.

References m_xTreeView.

◆ SetFunctionListBox()

void CuiConfigGroupListBox::SetFunctionListBox ( CuiConfigFunctionListBox pBox)
inline

Definition at line 228 of file cfgutil.hxx.

References m_pFunctionListBox.

◆ SetStylesInfo()

void CuiConfigGroupListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 369 of file cfgutil.cxx.

References m_pStylesInfo.

Member Data Documentation

◆ aArr

SfxGroupInfoArr_Impl CuiConfigGroupListBox::aArr
private

Definition at line 187 of file cfgutil.hxx.

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

◆ m_pFunctionListBox

CuiConfigFunctionListBox* CuiConfigGroupListBox::m_pFunctionListBox
private

Definition at line 186 of file cfgutil.hxx.

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

◆ m_pStylesInfo

SfxStylesInfo_Impl* CuiConfigGroupListBox::m_pStylesInfo
private

Definition at line 194 of file cfgutil.hxx.

Referenced by GroupSelected(), and SetStylesInfo().

◆ m_sModuleLongName

OUString CuiConfigGroupListBox::m_sModuleLongName
private

Definition at line 188 of file cfgutil.hxx.

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

◆ m_xContext

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

Definition at line 189 of file cfgutil.hxx.

Referenced by FillScriptList(), and Init().

◆ m_xFrame

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

Definition at line 190 of file cfgutil.hxx.

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

◆ m_xGlobalCategoryInfo

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

Definition at line 191 of file cfgutil.hxx.

Referenced by Init().

◆ m_xModuleCategoryInfo

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

Definition at line 192 of file cfgutil.hxx.

Referenced by Init(), and InitModule().

◆ m_xScratchIter

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

Definition at line 196 of file cfgutil.hxx.

Referenced by FillScriptList().

◆ m_xTreeView

std::unique_ptr<weld::TreeView> CuiConfigGroupListBox::m_xTreeView
private

◆ m_xUICmdDescription

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

Definition at line 193 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

◆ xImp

std::unique_ptr<SvxConfigGroupBoxResource_Impl> CuiConfigGroupListBox::xImp
private

Definition at line 185 of file cfgutil.hxx.

Referenced by FillScriptList(), and Init().


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