24#include <com/sun/star/beans/XPropertyChangeListener.hpp>
25#include <com/sun/star/lang/XComponent.hpp>
35 struct SubComponentManager_Data;
36 class OApplicationController;
39 typedef ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener
50 virtual void SAL_CALL
propertyChange(
const css::beans::PropertyChangeEvent& evt )
override;
53 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source )
override;
56 css::uno::Sequence< css::uno::Reference< css::lang::XComponent> >
62 const OUString& _rName,
63 const sal_Int32 _nComponentType,
65 const css::uno::Reference< css::lang::XComponent >&
77 const OUString& _rName,
78 const sal_Int32 _nComponentType,
80 css::uno::Reference< css::lang::XComponent >& o_rComponent
93 std::u16string_view _rName,
94 const sal_Int32 _nComponentType
109 const css::uno::Reference< css::lang::XComponent >& i_rComponent,
111 sal_Int32& o_rComponentType
115 std::unique_ptr< SubComponentManager_Data >
m_pData;
bool closeSubFrames(std::u16string_view _rName, const sal_Int32 _nComponentType)
closes all frames of the given component
bool lookupSubComponent(const css::uno::Reference< css::lang::XComponent > &i_rComponent, OUString &o_rName, sal_Int32 &o_rComponentType)
searches for the given sub component
void onSubComponentOpened(const OUString &_rName, const sal_Int32 _nComponentType, const ElementOpenMode _eOpenMode, const css::uno::Reference< css::lang::XComponent > &_rxComponent)
bool closeSubComponents()
std::unique_ptr< SubComponentManager_Data > m_pData
virtual ~SubComponentManager() override
bool activateSubFrame(const OUString &_rName, const sal_Int32 _nComponentType, const ElementOpenMode _eOpenMode, css::uno::Reference< css::lang::XComponent > &o_rComponent) const
activates (i.e.
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &evt) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
SubComponentManager(OApplicationController &_rController, const ::comphelper::SharedMutex &_rMutex)
css::uno::Sequence< css::uno::Reference< css::lang::XComponent > > getSubComponents() const
::cppu::WeakImplHelper< css::beans::XPropertyChangeListener > SubComponentManager_Base