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

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

Detailed Description

Definition at line 181 of file cfgutil.hxx.

Constructor & Destructor Documentation

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

Definition at line 404 of file cfgutil.cxx.

References LINK, and m_xTreeView.

CuiConfigGroupListBox::~CuiConfigGroupListBox ( )

Definition at line 414 of file cfgutil.cxx.

References ClearAll().

Member Function Documentation

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

Definition at line 215 of file cfgutil.hxx.

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

Definition at line 217 of file cfgutil.hxx.

References m_xTreeView.

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

Definition at line 733 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 
)
staticprivate
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 ( )
private

Definition at line 439 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)
private
void CuiConfigGroupListBox::SelectMacro ( const SfxMacroInfoItem pItem)
void CuiConfigGroupListBox::SelectMacro ( const OUString &  rBasic,
const OUString &  rMacro 
)
void CuiConfigGroupListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 214 of file cfgutil.hxx.

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

Definition at line 216 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetFunctionListBox ( CuiConfigFunctionListBox pBox)
inline

Definition at line 225 of file cfgutil.hxx.

void CuiConfigGroupListBox::SetStylesInfo ( SfxStylesInfo_Impl pStyles)

Definition at line 347 of file cfgutil.cxx.

References m_pStylesInfo.

Member Data Documentation

SfxGroupInfoArr_Impl CuiConfigGroupListBox::aArr
private

Definition at line 185 of file cfgutil.hxx.

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

CuiConfigFunctionListBox* CuiConfigGroupListBox::m_pFunctionListBox
private

Definition at line 184 of file cfgutil.hxx.

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

SfxStylesInfo_Impl* CuiConfigGroupListBox::m_pStylesInfo
private

Definition at line 192 of file cfgutil.hxx.

Referenced by GroupSelected(), and SetStylesInfo().

OUString CuiConfigGroupListBox::m_sModuleLongName
private

Definition at line 186 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

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

Definition at line 187 of file cfgutil.hxx.

Referenced by FillScriptList(), and Init().

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

Definition at line 188 of file cfgutil.hxx.

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

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

Definition at line 189 of file cfgutil.hxx.

Referenced by Init().

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

Definition at line 190 of file cfgutil.hxx.

Referenced by Init(), and InitModule().

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

Definition at line 191 of file cfgutil.hxx.

Referenced by Init(), and MapCommand2UIName().

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

Definition at line 183 of file cfgutil.hxx.

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


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