11#include <ooo/vba/XCommandBarControls.hpp>
17ScVbaMenuBar::ScVbaMenuBar(
const uno::Reference< ov::XHelperInterface >& rParent,
const uno::Reference< uno::XComponentContext >& rContext, uno::Reference< XCommandBar > xCommandBar ) :
MenuBar_BASE(rParent, rContext), m_xCommandBar(
std::move(xCommandBar))
24 uno::Reference< XCommandBarControls > xCommandBarControls(
m_xCommandBar->Controls(
uno::Any() ), uno::UNO_QUERY_THROW );
25 uno::Reference< excel::XMenus > xMenus(
new ScVbaMenus(
this,
mxContext, xCommandBarControls ) );
36 return "ScVbaMenuBar";
39uno::Sequence<OUString>
44 "ooo.vba.excel.MenuBar"
css::uno::Reference< css::uno::XComponentContext > mxContext
std::deque< AttacherIndex_Impl > aIndex
Sequence< OUString > aServiceNames