19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_GROUPS_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_GROUPS_HXX
22#include <com/sun/star/report/XGroups.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
32 typedef ::cppu::WeakComponentImplHelper< css::report::XGroups>
GroupsBase;
40 typedef ::std::vector< css::uno::Reference< css::report::XGroup > >
TGroups;
42 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
43 css::uno::WeakReference< css::report::XReportDefinition >
m_xParent;
58 virtual void SAL_CALL
disposing()
override;
60 OGroups(
const css::uno::Reference< css::report::XReportDefinition >& _xParent
61 ,css::uno::Reference< css::uno::XComponentContext > context);
65 virtual css::uno::Reference< css::report::XReportDefinition > SAL_CALL
getReportDefinition()
override;
67 virtual css::uno::Reference< css::report::XGroup > SAL_CALL
createGroup( )
override;
69 virtual void SAL_CALL
insertByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
72 virtual void SAL_CALL
replaceByIndex( ::sal_Int32
Index,
const css::uno::Any& Element )
override;
74 virtual ::sal_Int32 SAL_CALL
getCount( )
override;
75 virtual css::uno::Any SAL_CALL
getByIndex( ::sal_Int32
Index )
override;
80 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
81 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
83 virtual void SAL_CALL
addContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
84 virtual void SAL_CALL
removeContainerListener(
const css::uno::Reference< css::container::XContainerListener >& xListener )
override;
87 virtual void SAL_CALL
dispose()
override;
88 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
90 cppu::WeakComponentImplHelperBase::addEventListener(aListener);
92 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override
94 cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual css::uno::Reference< css::report::XGroup > SAL_CALL createGroup() override
virtual css::uno::Reference< css::report::XReportDefinition > SAL_CALL getReportDefinition() override
OGroups(const css::uno::Reference< css::report::XReportDefinition > &_xParent, css::uno::Reference< css::uno::XComponentContext > context)
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual css::uno::Any SAL_CALL getByIndex(::sal_Int32 Index) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL removeByIndex(::sal_Int32 Index) override
virtual sal_Bool SAL_CALL hasElements() override
void checkIndex(sal_Int32 _nIndex)
virtual void SAL_CALL disposing() override
this function is called upon disposing the component
virtual void SAL_CALL replaceByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
css::uno::WeakReference< css::report::XReportDefinition > m_xParent
virtual void SAL_CALL insertByIndex(::sal_Int32 Index, const css::uno::Any &Element) override
virtual ~OGroups() override
::std::vector< css::uno::Reference< css::report::XGroup > > TGroups
OGroups(const OGroups &)=delete
OGroups & operator=(const OGroups &)=delete
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
virtual ::sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL dispose() override
::cppu::WeakComponentImplHelper< css::report::XGroups > GroupsBase