LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::OComponentAccess Class Referencefinal

#include <ocomponentaccess.hxx>

Inheritance diagram for framework::OComponentAccess:
[legend]
Collaboration diagram for framework::OComponentAccess:
[legend]

Public Member Functions

 OComponentAccess (const css::uno::Reference< css::frame::XDesktop > &xOwner)
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 

Private Member Functions

virtual ~OComponentAccess () override
 
void impl_collectAllChildComponents (const css::uno::Reference< css::frame::XFramesSupplier > &xNode, std::vector< css::uno::Reference< css::lang::XComponent > > &seqComponents)
 
css::uno::Reference< css::lang::XComponent > impl_getFrameComponent (const css::uno::Reference< css::frame::XFrame > &xFrame) const
 

Private Attributes

css::uno::WeakReference< css::frame::XDesktop > m_xOwner
 

Detailed Description

Definition at line 51 of file ocomponentaccess.hxx.

Constructor & Destructor Documentation

◆ OComponentAccess()

framework::OComponentAccess::OComponentAccess ( const css::uno::Reference< css::frame::XDesktop > &  xOwner)

Definition at line 39 of file ocomponentaccess.cxx.

References SAL_WARN_IF.

◆ ~OComponentAccess()

framework::OComponentAccess::~OComponentAccess ( )
overrideprivatevirtual

Definition at line 48 of file ocomponentaccess.cxx.

Member Function Documentation

◆ createEnumeration()

css::uno::Reference< XEnumeration > SAL_CALL framework::OComponentAccess::createEnumeration ( )
overridevirtual

Definition at line 53 of file ocomponentaccess.cxx.

References impl_collectAllChildComponents(), and m_xOwner.

◆ getElementType()

Type SAL_CALL framework::OComponentAccess::getElementType ( )
overridevirtual

Definition at line 79 of file ocomponentaccess.cxx.

References cppu::UnoType< typename T >::get().

◆ hasElements()

sal_Bool SAL_CALL framework::OComponentAccess::hasElements ( )
overridevirtual

Definition at line 87 of file ocomponentaccess.cxx.

References m_xOwner.

◆ impl_collectAllChildComponents()

void framework::OComponentAccess::impl_collectAllChildComponents ( const css::uno::Reference< css::frame::XFramesSupplier > &  xNode,
std::vector< css::uno::Reference< css::lang::XComponent > > &  seqComponents 
)
private

Definition at line 107 of file ocomponentaccess.cxx.

References impl_getFrameComponent().

Referenced by createEnumeration().

◆ impl_getFrameComponent()

css::uno::Reference< XComponent > framework::OComponentAccess::impl_getFrameComponent ( const css::uno::Reference< css::frame::XFrame > &  xFrame) const
private

Definition at line 134 of file ocomponentaccess.cxx.

References xController, xFrame, and xModel.

Referenced by impl_collectAllChildComponents().

Member Data Documentation

◆ m_xOwner

css::uno::WeakReference< css::frame::XDesktop > framework::OComponentAccess::m_xOwner
private

Definition at line 155 of file ocomponentaccess.hxx.

Referenced by createEnumeration(), and hasElements().


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