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

implementation of a More...

#include <FormatCondition.hxx>

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

Public Member Functions

 OFormatCondition (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
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 getEnabled () override
 
virtual void SAL_CALL setEnabled (sal_Bool _enabled) override
 
virtual OUString SAL_CALL getFormula () override
 
virtual void SAL_CALL setFormula (const OUString &_formula) 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
 

Protected Member Functions

virtual ~OFormatCondition () override
 
- 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

 OFormatCondition (const OFormatCondition &)=delete
 
OFormatConditionoperator= (const OFormatCondition &)=delete
 
void set (const OUString &_sProperty, sal_Int16 Value, css::style::ParagraphAdjust &_member)
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 

Private Attributes

OFormatProperties m_aFormatProperties
 
OUString m_sFormula
 
bool m_bEnabled
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- 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 FormatCondition.hxx.

Constructor & Destructor Documentation

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

Definition at line 37 of file FormatCondition.cxx.

reportdesign::OFormatCondition::OFormatCondition ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit

Member Function Documentation

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

Definition at line 129 of file FormatCondition.hxx.

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

Definition at line 43 of file FormatCondition.cxx.

References cppu::PropertySetMixinImpl::dispose().

sal_Bool SAL_CALL reportdesign::OFormatCondition::getEnabled ( )
overridevirtual

Definition at line 100 of file FormatCondition.cxx.

References cppu::BaseMutex::m_aMutex, and m_bEnabled.

OUString SAL_CALL reportdesign::OFormatCondition::getFormula ( )
overridevirtual

Definition at line 111 of file FormatCondition.cxx.

References cppu::BaseMutex::m_aMutex, and m_sFormula.

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

Definition at line 49 of file FormatCondition.cxx.

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 64 of file FormatCondition.cxx.

References cppu::PropertySetMixinImpl::getPropertySetInfo().

uno::Any SAL_CALL reportdesign::OFormatCondition::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
uno::Sequence< OUString > SAL_CALL reportdesign::OFormatCondition::getSupportedServiceNames ( )
overridevirtual

Definition at line 54 of file FormatCondition.cxx.

References SERVICE_FORMATCONDITION.

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

Definition at line 133 of file FormatCondition.hxx.

void SAL_CALL reportdesign::OFormatCondition::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL reportdesign::OFormatCondition::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void reportdesign::OFormatCondition::set ( const OUString &  _sProperty,
sal_Int16  Value,
css::style::ParagraphAdjust &  _member 
)
inlineprivate
template<typename T >
void reportdesign::OFormatCondition::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OFormatCondition::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OFormatCondition::setEnabled ( sal_Bool  _enabled)
overridevirtual

Definition at line 106 of file FormatCondition.cxx.

References m_bEnabled, PROPERTY_ENABLED, and set().

void SAL_CALL reportdesign::OFormatCondition::setFormula ( const OUString &  _formula)
overridevirtual

Definition at line 117 of file FormatCondition.cxx.

References m_sFormula, PROPERTY_FORMULA, and set().

void SAL_CALL reportdesign::OFormatCondition::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
sal_Bool SAL_CALL reportdesign::OFormatCondition::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 59 of file FormatCondition.cxx.

References cppu::supportsService().

Member Data Documentation

OFormatProperties reportdesign::OFormatCondition::m_aFormatProperties
private

Definition at line 45 of file FormatCondition.hxx.

bool reportdesign::OFormatCondition::m_bEnabled
private

Definition at line 47 of file FormatCondition.hxx.

Referenced by getEnabled(), and setEnabled().

OUString reportdesign::OFormatCondition::m_sFormula
private

Definition at line 46 of file FormatCondition.hxx.

Referenced by getFormula(), and setFormula().


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