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::OFunction Class Reference

implementation of a More...

#include <Function.hxx>

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

Public Member Functions

 OFunction (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 getPreEvaluated () override
 
virtual void SAL_CALL setPreEvaluated (sal_Bool the_value) override
 
virtual sal_Bool SAL_CALL getDeepTraversing () override
 
virtual void SAL_CALL setDeepTraversing (sal_Bool the_value) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &the_value) override
 
virtual OUString SAL_CALL getFormula () override
 
virtual void SAL_CALL setFormula (const OUString &the_value) override
 
virtual css::beans::Optional< OUString > SAL_CALL getInitialFormula () override
 
virtual void SAL_CALL setInitialFormula (const css::beans::Optional< OUString > &the_value) 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
 
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
 

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)
 

Protected Member Functions

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

 OFunction (const OFunction &)=delete
 
OFunctionoperator= (const OFunction &)=delete
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 

Private Attributes

css::beans::Optional< OUString > m_sInitialFormula
 
css::uno::WeakReference< css::report::XFunctions > m_xParent
 
OUString m_sName
 
OUString m_sFormula
 
bool m_bPreEvaluated
 
bool m_bDeepTraversing
 

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 40 of file Function.hxx.

Constructor & Destructor Documentation

◆ OFunction() [1/2]

reportdesign::OFunction::OFunction ( const OFunction )
privatedelete

Referenced by create().

◆ ~OFunction()

reportdesign::OFunction::~OFunction ( )
overrideprotectedvirtual

Definition at line 43 of file Function.cxx.

◆ OFunction() [2/2]

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

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addEventListener()

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

Definition at line 118 of file Function.hxx.

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ create()

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

Definition at line 28 of file Function.cxx.

References OFunction().

◆ dispose()

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

Definition at line 49 of file Function.cxx.

References cppu::PropertySetMixinImpl::dispose().

◆ getDeepTraversing()

sal_Bool SAL_CALL reportdesign::OFunction::getDeepTraversing ( )
overridevirtual

Definition at line 131 of file Function.cxx.

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

◆ getFormula()

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

Definition at line 156 of file Function.cxx.

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

◆ getImplementationName()

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

Definition at line 61 of file Function.cxx.

References getImplementationName_Static().

◆ getImplementationName_Static()

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

Definition at line 55 of file Function.cxx.

Referenced by getImplementationName().

◆ getInitialFormula()

beans::Optional< OUString > SAL_CALL reportdesign::OFunction::getInitialFormula ( )
overridevirtual

Definition at line 167 of file Function.cxx.

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

◆ getName()

OUString SAL_CALL reportdesign::OFunction::getName ( )
overridevirtual

Definition at line 144 of file Function.cxx.

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

◆ getParent()

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

Definition at line 179 of file Function.cxx.

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

◆ getPreEvaluated()

sal_Bool SAL_CALL reportdesign::OFunction::getPreEvaluated ( )
overridevirtual

Definition at line 119 of file Function.cxx.

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

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 83 of file Function.cxx.

References cppu::PropertySetMixinImpl::getPropertySetInfo().

◆ getPropertyValue()

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

Definition at line 93 of file Function.cxx.

References cppu::PropertySetMixinImpl::getPropertyValue().

◆ getSupportedServiceNames()

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

Definition at line 73 of file Function.cxx.

References getSupportedServiceNames_Static().

◆ getSupportedServiceNames_Static()

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

Definition at line 66 of file Function.cxx.

References SERVICE_FUNCTION.

Referenced by getSupportedServiceNames().

◆ operator=()

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

◆ removeEventListener()

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

Definition at line 122 of file Function.hxx.

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ set() [1/2]

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

◆ set() [2/2]

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

◆ setDeepTraversing()

void SAL_CALL reportdesign::OFunction::setDeepTraversing ( sal_Bool  the_value)
overridevirtual

Definition at line 138 of file Function.cxx.

References m_bDeepTraversing, PROPERTY_DEEPTRAVERSING, and set().

◆ setFormula()

void SAL_CALL reportdesign::OFunction::setFormula ( const OUString &  the_value)
overridevirtual

Definition at line 162 of file Function.cxx.

References m_sFormula, PROPERTY_FORMULA, and set().

◆ setInitialFormula()

void SAL_CALL reportdesign::OFunction::setInitialFormula ( const css::beans::Optional< OUString > &  the_value)
overridevirtual

Definition at line 173 of file Function.cxx.

References m_sInitialFormula, PROPERTY_INITIALFORMULA, and set().

◆ setName()

void SAL_CALL reportdesign::OFunction::setName ( const OUString &  the_value)
overridevirtual

Definition at line 151 of file Function.cxx.

References m_sName, PROPERTY_NAME, and set().

◆ setParent()

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

Definition at line 185 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, m_xParent, and Parent.

◆ setPreEvaluated()

void SAL_CALL reportdesign::OFunction::setPreEvaluated ( sal_Bool  the_value)
overridevirtual

Definition at line 126 of file Function.cxx.

References m_bPreEvaluated, PROPERTY_PREEVALUATED, and set().

◆ setPropertyValue()

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

Definition at line 88 of file Function.cxx.

References cppu::PropertySetMixinImpl::setPropertyValue().

◆ supportsService()

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

Definition at line 78 of file Function.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_bDeepTraversing

bool reportdesign::OFunction::m_bDeepTraversing
private

Definition at line 49 of file Function.hxx.

Referenced by getDeepTraversing(), and setDeepTraversing().

◆ m_bPreEvaluated

bool reportdesign::OFunction::m_bPreEvaluated
private

Definition at line 48 of file Function.hxx.

Referenced by getPreEvaluated(), and setPreEvaluated().

◆ m_sFormula

OUString reportdesign::OFunction::m_sFormula
private

Definition at line 47 of file Function.hxx.

Referenced by getFormula(), and setFormula().

◆ m_sInitialFormula

css::beans::Optional< OUString> reportdesign::OFunction::m_sInitialFormula
private

Definition at line 44 of file Function.hxx.

Referenced by getInitialFormula(), and setInitialFormula().

◆ m_sName

OUString reportdesign::OFunction::m_sName
private

Definition at line 46 of file Function.hxx.

Referenced by getName(), and setName().

◆ m_xParent

css::uno::WeakReference< css::report::XFunctions > reportdesign::OFunction::m_xParent
private

Definition at line 45 of file Function.hxx.

Referenced by getParent(), and setParent().


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