22#include <com/sun/star/frame/XFramesSupplier.hpp>
23#include <com/sun/star/container/XEnumerationAccess.hpp>
24#include <com/sun/star/container/XEnumeration.hpp>
25#include <com/sun/star/frame/XDesktop.hpp>
26#include <com/sun/star/lang/XComponent.hpp>
51class OComponentAccess final :
public ::cppu::WeakImplHelper< css::container::XEnumerationAccess >
73 OComponentAccess(
const css::uno::Reference< css::frame::XDesktop >& xOwner );
88 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
139 std::vector< css::uno::Reference< css::lang::XComponent > >& seqComponents );
155 css::uno::WeakReference< css::frame::XDesktop >
m_xOwner;
css::uno::WeakReference< css::frame::XDesktop > m_xOwner
OComponentAccess(const css::uno::Reference< css::frame::XDesktop > &xOwner)
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
css::uno::Reference< css::lang::XComponent > impl_getFrameComponent(const css::uno::Reference< css::frame::XFrame > &xFrame) const
virtual css::uno::Type SAL_CALL getElementType() override
void impl_collectAllChildComponents(const css::uno::Reference< css::frame::XFramesSupplier > &xNode, std::vector< css::uno::Reference< css::lang::XComponent > > &seqComponents)
virtual ~OComponentAccess() override
Reference< XFrame > xFrame