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

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
 

Static Public Member Functions

static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
static OUString getImplementationName_Static ()
 
static css::uno::Reference< css::uno::XInterface > create (css::uno::Reference< css::uno::XComponentContext > const &xContext)
 

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

Private Attributes

OFormatProperties m_aFormatProperties
 
OUString m_sFormula
 
bool m_bEnabled
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- 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
 
- 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

◆ OFormatCondition() [1/2]

reportdesign::OFormatCondition::OFormatCondition ( const OFormatCondition )
privatedelete

Referenced by create().

◆ ~OFormatCondition()

reportdesign::OFormatCondition::~OFormatCondition ( )
overrideprivatevirtual

Definition at line 43 of file FormatCondition.cxx.

◆ OFormatCondition() [2/2]

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

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addEventListener()

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

Definition at line 134 of file FormatCondition.hxx.

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ create()

uno::Reference< uno::XInterface > reportdesign::OFormatCondition::create ( css::uno::Reference< css::uno::XComponentContext > const &  xContext)
static

Definition at line 30 of file FormatCondition.cxx.

References OFormatCondition().

◆ dispose()

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

Definition at line 49 of file FormatCondition.cxx.

References cppu::PropertySetMixinImpl::dispose().

◆ getEnabled()

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

Definition at line 119 of file FormatCondition.cxx.

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

◆ getFormula()

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

Definition at line 130 of file FormatCondition.cxx.

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

◆ getImplementationName()

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

Definition at line 61 of file FormatCondition.cxx.

References getImplementationName_Static().

◆ getImplementationName_Static()

OUString reportdesign::OFormatCondition::getImplementationName_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 55 of file FormatCondition.cxx.

Referenced by getImplementationName().

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 83 of file FormatCondition.cxx.

References cppu::PropertySetMixinImpl::getPropertySetInfo().

◆ getPropertyValue()

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

◆ getSupportedServiceNames()

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

Definition at line 73 of file FormatCondition.cxx.

References getSupportedServiceNames_Static().

◆ getSupportedServiceNames_Static()

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

Definition at line 66 of file FormatCondition.cxx.

References SERVICE_FORMATCONDITION.

Referenced by getSupportedServiceNames().

◆ operator=()

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

◆ removeEventListener()

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

Definition at line 138 of file FormatCondition.hxx.

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

void reportdesign::OFormatCondition::set ( const OUString &  _sProperty,
sal_Int16  Value,
css::style::ParagraphAdjust &  _member 
)
inlineprivate

◆ setEnabled()

void SAL_CALL reportdesign::OFormatCondition::setEnabled ( sal_Bool  _enabled)
overridevirtual

Definition at line 125 of file FormatCondition.cxx.

References m_bEnabled, PROPERTY_ENABLED, and set().

◆ setFormula()

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

Definition at line 136 of file FormatCondition.cxx.

References m_sFormula, PROPERTY_FORMULA, and set().

◆ setPropertyValue()

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

◆ supportsService()

sal_Bool SAL_CALL reportdesign::OFormatCondition::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 78 of file FormatCondition.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aFormatProperties

OFormatProperties reportdesign::OFormatCondition::m_aFormatProperties
private

Definition at line 45 of file FormatCondition.hxx.

◆ m_bEnabled

bool reportdesign::OFormatCondition::m_bEnabled
private

Definition at line 47 of file FormatCondition.hxx.

Referenced by getEnabled(), and setEnabled().

◆ m_sFormula

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: