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< typename T >
 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 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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

◆ OGroup() [1/2]

reportdesign::OGroup::OGroup ( const OGroup )
privatedelete

◆ ~OGroup()

reportdesign::OGroup::~OGroup ( )
overrideprotectedvirtual

Definition at line 54 of file Group.cxx.

◆ OGroup() [2/2]

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

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addEventListener()

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

Definition at line 154 of file Group.hxx.

◆ addPropertyChangeListener()

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

Definition at line 271 of file Group.cxx.

◆ addVetoableChangeListener()

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

Definition at line 281 of file Group.cxx.

◆ dispose()

void SAL_CALL reportdesign::OGroup::dispose ( void  )
overridevirtual

Definition at line 81 of file Group.cxx.

◆ disposing()

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.

◆ getExpression()

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

Definition at line 211 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getFooter()

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

Definition at line 152 of file Group.cxx.

References m_aMutex.

◆ getFooterOn()

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

Definition at line 124 of file Group.cxx.

References m_aMutex.

◆ getFunctions()

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

Definition at line 313 of file Group.cxx.

◆ getGroupInterval()

sal_Int32 SAL_CALL reportdesign::OGroup::getGroupInterval ( )
override

Definition at line 180 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getGroupOn()

sal_Int16 SAL_CALL reportdesign::OGroup::getGroupOn ( )
override

Definition at line 165 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getGroups()

uno::Reference< report::XGroups > SAL_CALL reportdesign::OGroup::getGroups ( )
overridevirtual

Definition at line 206 of file Group.cxx.

◆ getHeader()

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

Definition at line 139 of file Group.cxx.

References m_aMutex.

◆ getHeaderOn()

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

Definition at line 109 of file Group.cxx.

References m_aMutex.

◆ getImplementationName()

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

Definition at line 60 of file Group.cxx.

◆ getKeepTogether()

sal_Int16 SAL_CALL reportdesign::OGroup::getKeepTogether ( )
override

Definition at line 191 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getParent()

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

Definition at line 246 of file Group.cxx.

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 256 of file Group.cxx.

◆ getPropertyValue()

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

Definition at line 266 of file Group.cxx.

◆ getResetPageNumber()

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

Definition at line 234 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getSortAscending()

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

Definition at line 98 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getStartNewColumn()

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

Definition at line 222 of file Group.cxx.

References m_aMutex, and m_aProps.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL reportdesign::OGroup::getSupportedServiceNames ( )
overridevirtual

Definition at line 71 of file Group.cxx.

◆ 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.

◆ operator=()

OGroup & reportdesign::OGroup::operator= ( const OGroup )
privatedelete

◆ removeEventListener()

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

Definition at line 158 of file Group.hxx.

◆ removePropertyChangeListener()

void SAL_CALL reportdesign::OGroup::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 276 of file Group.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL reportdesign::OGroup::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 286 of file Group.cxx.

◆ set() [1/2]

void reportdesign::OGroup::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate

◆ set() [2/2]

template<typename T >
void reportdesign::OGroup::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate

◆ setExpression()

void SAL_CALL reportdesign::OGroup::setExpression ( const OUString &  _expression)
overridevirtual

Definition at line 217 of file Group.cxx.

References m_aProps, PROPERTY_EXPRESSION, and set().

◆ setFooterOn()

void SAL_CALL reportdesign::OGroup::setFooterOn ( sal_Bool  _footeron)
overridevirtual

Definition at line 130 of file Group.cxx.

References PROPERTY_FOOTERON, RptResId(), and sName.

◆ setGroupInterval()

void SAL_CALL reportdesign::OGroup::setGroupInterval ( ::sal_Int32  _groupinterval)
overridevirtual

Definition at line 186 of file Group.cxx.

References m_aProps, PROPERTY_GROUPINTERVAL, and set().

◆ setGroupOn()

void SAL_CALL reportdesign::OGroup::setGroupOn ( ::sal_Int16  _groupon)
overridevirtual

◆ setHeaderOn()

void SAL_CALL reportdesign::OGroup::setHeaderOn ( sal_Bool  _headeron)
overridevirtual

Definition at line 115 of file Group.cxx.

References PROPERTY_HEADERON, RptResId(), and sName.

◆ setKeepTogether()

void SAL_CALL reportdesign::OGroup::setKeepTogether ( ::sal_Int16  _keeptogether)
overridevirtual

◆ setParent()

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

Definition at line 251 of file Group.cxx.

◆ setPropertyValue()

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

Definition at line 261 of file Group.cxx.

◆ setResetPageNumber()

void SAL_CALL reportdesign::OGroup::setResetPageNumber ( sal_Bool  _resetpagenumber)
overridevirtual

Definition at line 240 of file Group.cxx.

References m_aProps, PROPERTY_RESETPAGENUMBER, and set().

◆ setSection()

void reportdesign::OGroup::setSection ( const OUString &  _sProperty,
bool  _bOn,
const OUString &  _sName,
css::uno::Reference< css::report::XSection > &  _member 
)
private

Definition at line 291 of file Group.cxx.

References m_aMutex, and m_xContext.

◆ setSortAscending()

void SAL_CALL reportdesign::OGroup::setSortAscending ( sal_Bool  _sortascending)
overridevirtual

Definition at line 104 of file Group.cxx.

References m_aProps, PROPERTY_SORTASCENDING, and set().

◆ setStartNewColumn()

void SAL_CALL reportdesign::OGroup::setStartNewColumn ( sal_Bool  _startnewcolumn)
overridevirtual

Definition at line 228 of file Group.cxx.

References m_aProps, PROPERTY_STARTNEWCOLUMN, and set().

◆ supportsService()

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

◆ m_aProps

::rptshared::GroupProperties reportdesign::OGroup::m_aProps
private

Definition at line 50 of file Group.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > reportdesign::OGroup::m_xContext
private

Definition at line 45 of file Group.hxx.

◆ m_xFooter

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

Definition at line 48 of file Group.hxx.

◆ m_xFunctions

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

Definition at line 49 of file Group.hxx.

◆ m_xHeader

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

Definition at line 47 of file Group.hxx.

◆ m_xParent

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

Definition at line 46 of file Group.hxx.


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