20#include <com/sun/star/lang/IllegalArgumentException.hpp>
23using namespace css::uno;
27std::unique_ptr<PanelLayout>
29 const css::uno::Reference<css::frame::XFrame>& rxFrame)
31 if (pParent ==
nullptr)
32 throw lang::IllegalArgumentException(
"no parent Window given to ListsPropertyPanel::Create",
35 throw lang::IllegalArgumentException(
"no XFrame given to ListsPropertyPanel::Create",
38 return std::make_unique<ListsPropertyPanel>(pParent, rxFrame);
42 const css::uno::Reference<css::frame::XFrame>& rxFrame)
43 :
PanelLayout(pParent,
"ListsPropertyPanel",
"svx/ui/sidebarlists.ui")
44 , mxTBxNumBullet(m_xBuilder->weld_toolbar(
"numberbullet"))
46 , mxTBxOutline(m_xBuilder->weld_toolbar(
"outline"))