LibreOffice Module reportdesign (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
reportdesign::OGroup Class Reference

implementation of a More...

#include <Group.hxx>

Inheritance diagram for reportdesign::OGroup:
[legend]
Collaboration diagram for reportdesign::OGroup:
[legend]

Public Member Functions

 OGroup (const css::uno::Reference< css::report::XGroups > &_xParent, const css::uno::Reference< css::uno::XComponentContext > &context)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual sal_Bool SAL_CALL getSortAscending () override
 
virtual void SAL_CALL setSortAscending (sal_Bool _sortascending) override
 
virtual sal_Bool SAL_CALL getHeaderOn () override
 
virtual void SAL_CALL setHeaderOn (sal_Bool _headeron) override
 
virtual sal_Bool SAL_CALL getFooterOn () override
 
virtual void SAL_CALL setFooterOn (sal_Bool _footeron) override
 
virtual css::uno::Reference< css::report::XSection > SAL_CALL getHeader () override
 
virtual css::uno::Reference< css::report::XSection > SAL_CALL getFooter () override
 
virtual ::sal_Int16 SAL_CALL getGroupOn () override
 
virtual void SAL_CALL setGroupOn (::sal_Int16 _groupon) override
 
virtual ::sal_Int32 SAL_CALL getGroupInterval () override
 
virtual void SAL_CALL setGroupInterval (::sal_Int32 _groupinterval) override
 
virtual ::sal_Int16 SAL_CALL getKeepTogether () override
 
virtual void SAL_CALL setKeepTogether (::sal_Int16 _keeptogether) override
 
virtual css::uno::Reference< css::report::XGroups > SAL_CALL getGroups () override
 
virtual OUString SAL_CALL getExpression () override
 
virtual void SAL_CALL setExpression (const OUString &_expression) override
 
virtual sal_Bool SAL_CALL getStartNewColumn () override
 
virtual void SAL_CALL setStartNewColumn (sal_Bool _startnewcolumn) override
 
virtual sal_Bool SAL_CALL getResetPageNumber () override
 
virtual void SAL_CALL setResetPageNumber (sal_Bool _resetpagenumber) override
 
virtual css::uno::Reference< css::report::XFunctions > SAL_CALL getFunctions () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 

Static Public Member Functions

static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 

Protected Member Functions

virtual ~OGroup () override
 
virtual void SAL_CALL disposing () override
 this function is called upon disposing the component More...
 
- Protected Member Functions inherited from cppu::PropertySetMixin< class >
 PropertySetMixin (css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
 
 ~PropertySetMixin ()
 
- Protected Member Functions inherited from cppu::PropertySetMixinImpl
void prepareSet (rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
 
void dispose ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &type) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValue (rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (rtl::OUString const &propertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 handle) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE
 

Private Member Functions

OGroupoperator= (const OGroup &)=delete
 
 OGroup (const OGroup &)=delete
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 
void setSection (const OUString &_sProperty, bool _bOn, const OUString &_sName, css::uno::Reference< css::report::XSection > &_member)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::WeakReference< css::report::XGroups > m_xParent
 
css::uno::Reference< css::report::XSection > m_xHeader
 
css::uno::Reference< css::report::XSection > m_xFooter
 
css::uno::Reference< css::report::XFunctions > m_xFunctions
 
::rptshared::GroupProperties m_aProps
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 
- Protected Attributes inherited from cppu::PropertySetMixinImpl
 IMPLEMENTS_PROPERTY_SET
 
 IMPLEMENTS_FAST_PROPERTY_SET
 
 IMPLEMENTS_PROPERTY_ACCESS
 

Detailed Description

implementation of a

Definition at line 41 of file Group.hxx.

Constructor & Destructor Documentation

reportdesign::OGroup::OGroup ( const OGroup )
privatedelete
reportdesign::OGroup::~OGroup ( )
overrideprotectedvirtual

Definition at line 54 of file Group.cxx.

reportdesign::OGroup::OGroup ( const css::uno::Reference< css::report::XGroups > &  _xParent,
const css::uno::Reference< css::uno::XComponentContext > &  context 
)

Member Function Documentation

virtual void SAL_CALL reportdesign::OGroup::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 154 of file Group.hxx.

void SAL_CALL reportdesign::OGroup::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
void SAL_CALL reportdesign::OGroup::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL reportdesign::OGroup::dispose ( void  )
overridevirtual

Definition at line 81 of file Group.cxx.

References cppu::PropertySetMixinImpl::dispose().

void SAL_CALL reportdesign::OGroup::disposing ( )
overrideprotectedvirtual

this function is called upon disposing the component

Definition at line 89 of file Group.cxx.

References m_xContext, m_xFooter, m_xFunctions, and m_xHeader.

OUString SAL_CALL reportdesign::OGroup::getExpression ( )
overridevirtual
uno::Reference< report::XSection > SAL_CALL reportdesign::OGroup::getFooter ( )
overridevirtual

Definition at line 152 of file Group.cxx.

References comphelper::OMutexAndBroadcastHelper::m_aMutex, and m_xFooter.

sal_Bool SAL_CALL reportdesign::OGroup::getFooterOn ( )
overridevirtual

Definition at line 124 of file Group.cxx.

References comphelper::OMutexAndBroadcastHelper::m_aMutex, and m_xFooter.

uno::Reference< report::XFunctions > SAL_CALL reportdesign::OGroup::getFunctions ( )
overridevirtual

Definition at line 313 of file Group.cxx.

References m_xFunctions.

sal_Int32 SAL_CALL reportdesign::OGroup::getGroupInterval ( )
override
sal_Int16 SAL_CALL reportdesign::OGroup::getGroupOn ( )
override
uno::Reference< report::XGroups > SAL_CALL reportdesign::OGroup::getGroups ( )
overridevirtual

Definition at line 206 of file Group.cxx.

References m_xParent.

uno::Reference< report::XSection > SAL_CALL reportdesign::OGroup::getHeader ( )
overridevirtual

Definition at line 139 of file Group.cxx.

References comphelper::OMutexAndBroadcastHelper::m_aMutex, and m_xHeader.

sal_Bool SAL_CALL reportdesign::OGroup::getHeaderOn ( )
overridevirtual

Definition at line 109 of file Group.cxx.

References comphelper::OMutexAndBroadcastHelper::m_aMutex, and m_xHeader.

OUString SAL_CALL reportdesign::OGroup::getImplementationName ( )
overridevirtual

Definition at line 60 of file Group.cxx.

sal_Int16 SAL_CALL reportdesign::OGroup::getKeepTogether ( )
override
uno::Reference< uno::XInterface > SAL_CALL reportdesign::OGroup::getParent ( )
overridevirtual

Definition at line 246 of file Group.cxx.

References m_xParent.

uno::Reference< beans::XPropertySetInfo > SAL_CALL reportdesign::OGroup::getPropertySetInfo ( )
overridevirtual

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 256 of file Group.cxx.

References cppu::PropertySetMixinImpl::getPropertySetInfo().

uno::Any SAL_CALL reportdesign::OGroup::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 266 of file Group.cxx.

References cppu::PropertySetMixinImpl::getPropertyValue().

sal_Bool SAL_CALL reportdesign::OGroup::getResetPageNumber ( )
overridevirtual
sal_Bool SAL_CALL reportdesign::OGroup::getSortAscending ( )
overridevirtual
sal_Bool SAL_CALL reportdesign::OGroup::getStartNewColumn ( )
overridevirtual
uno::Sequence< OUString > SAL_CALL reportdesign::OGroup::getSupportedServiceNames ( )
overridevirtual

Definition at line 71 of file Group.cxx.

References getSupportedServiceNames_Static().

uno::Sequence< OUString > reportdesign::OGroup::getSupportedServiceNames_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 65 of file Group.cxx.

References SERVICE_GROUP.

Referenced by getSupportedServiceNames().

OGroup& reportdesign::OGroup::operator= ( const OGroup )
privatedelete
virtual void SAL_CALL reportdesign::OGroup::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 158 of file Group.hxx.

void SAL_CALL reportdesign::OGroup::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL reportdesign::OGroup::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
template<typename T >
void reportdesign::OGroup::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OGroup::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OGroup::setExpression ( const OUString &  _expression)
overridevirtual
void SAL_CALL reportdesign::OGroup::setFooterOn ( sal_Bool  _footeron)
overridevirtual

Definition at line 130 of file Group.cxx.

References m_xFooter, PROPERTY_FOOTERON, RptResId(), setSection(), and sName.

void SAL_CALL reportdesign::OGroup::setGroupInterval ( ::sal_Int32  _groupinterval)
overridevirtual
void SAL_CALL reportdesign::OGroup::setGroupOn ( ::sal_Int16  _groupon)
overridevirtual
void SAL_CALL reportdesign::OGroup::setHeaderOn ( sal_Bool  _headeron)
overridevirtual

Definition at line 115 of file Group.cxx.

References m_xHeader, PROPERTY_HEADERON, RptResId(), setSection(), and sName.

void SAL_CALL reportdesign::OGroup::setKeepTogether ( ::sal_Int16  _keeptogether)
overridevirtual
void SAL_CALL reportdesign::OGroup::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 251 of file Group.cxx.

void SAL_CALL reportdesign::OGroup::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 261 of file Group.cxx.

References cppu::PropertySetMixinImpl::setPropertyValue().

void SAL_CALL reportdesign::OGroup::setResetPageNumber ( sal_Bool  _resetpagenumber)
overridevirtual
void reportdesign::OGroup::setSection ( const OUString &  _sProperty,
bool  _bOn,
const OUString &  _sName,
css::uno::Reference< css::report::XSection > &  _member 
)
private
void SAL_CALL reportdesign::OGroup::setSortAscending ( sal_Bool  _sortascending)
overridevirtual
void SAL_CALL reportdesign::OGroup::setStartNewColumn ( sal_Bool  _startnewcolumn)
overridevirtual
sal_Bool SAL_CALL reportdesign::OGroup::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 76 of file Group.cxx.

References cppu::supportsService().

Member Data Documentation

::rptshared::GroupProperties reportdesign::OGroup::m_aProps
private
css::uno::Reference< css::uno::XComponentContext > reportdesign::OGroup::m_xContext
private

Definition at line 45 of file Group.hxx.

Referenced by disposing(), and setSection().

css::uno::Reference< css::report::XSection> reportdesign::OGroup::m_xFooter
private

Definition at line 48 of file Group.hxx.

Referenced by disposing(), getFooter(), getFooterOn(), and setFooterOn().

css::uno::Reference< css::report::XFunctions > reportdesign::OGroup::m_xFunctions
private

Definition at line 49 of file Group.hxx.

Referenced by disposing(), and getFunctions().

css::uno::Reference< css::report::XSection> reportdesign::OGroup::m_xHeader
private

Definition at line 47 of file Group.hxx.

Referenced by disposing(), getHeader(), getHeaderOn(), and setHeaderOn().

css::uno::WeakReference< css::report::XGroups > reportdesign::OGroup::m_xParent
private

Definition at line 46 of file Group.hxx.

Referenced by getGroups(), and getParent().


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