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

implementation of a More...

#include <FormattedField.hxx>

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

Public Member Functions

 OFormattedField (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
 OFormattedField (css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape)
 
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 void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL insertByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (::sal_Int32 Index) override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 
virtual OUString SAL_CALL getShapeType () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual ::sal_Int32 SAL_CALL getFormatKey () override
 
virtual void SAL_CALL setFormatKey (::sal_Int32 the_value) override
 
virtual css::uno::Reference< css::util::XNumberFormatsSupplier > SAL_CALL getFormatsSupplier () override
 
virtual void SAL_CALL setFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_formatssupplier) 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)
 

Private Member Functions

 OFormattedField (const OFormattedField &)=delete
 
OFormattedFieldoperator= (const OFormattedField &)=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 ~OFormattedField () override
 

Private Attributes

OReportControlModel m_aProps
 
css::uno::Reference< css::util::XNumberFormatsSupplier > m_xFormatsSupplier
 
::sal_Int32 m_nFormatKey
 

Friends

class OShapeHelper
 

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 42 of file FormattedField.hxx.

Constructor & Destructor Documentation

◆ OFormattedField() [1/3]

reportdesign::OFormattedField::OFormattedField ( const OFormattedField )
privatedelete

Referenced by create().

◆ ~OFormattedField()

reportdesign::OFormattedField::~OFormattedField ( )
overrideprivatevirtual

Definition at line 75 of file FormattedField.cxx.

◆ OFormattedField() [2/3]

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

◆ OFormattedField() [3/3]

reportdesign::OFormattedField::OFormattedField ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext,
const css::uno::Reference< css::lang::XMultiServiceFactory > &  _xFactory,
css::uno::Reference< css::drawing::XShape > &  _xShape 
)
explicit

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addContainerListener()

void SAL_CALL reportdesign::OFormattedField::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 277 of file FormattedField.cxx.

References m_aProps.

◆ addEventListener()

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

Definition at line 176 of file FormattedField.hxx.

◆ addPropertyChangeListener()

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

Definition at line 152 of file FormattedField.cxx.

◆ addVetoableChangeListener()

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

Definition at line 162 of file FormattedField.cxx.

◆ create()

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

Definition at line 38 of file FormattedField.cxx.

References OFormattedField().

◆ createClone()

uno::Reference< util::XCloneable > SAL_CALL reportdesign::OFormattedField::createClone ( )
overridevirtual

Definition at line 208 of file FormattedField.cxx.

References reportdesign::cloneObject(), i, m_aProps, and SERVICE_FORMATTEDFIELD.

◆ dispose()

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

Definition at line 93 of file FormattedField.cxx.

◆ getByIndex()

uno::Any SAL_CALL reportdesign::OFormattedField::getByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 321 of file FormattedField.cxx.

References m_aProps.

◆ getCount()

sal_Int32 SAL_CALL reportdesign::OFormattedField::getCount ( )
override

Definition at line 316 of file FormattedField.cxx.

References m_aProps.

◆ getElementType()

uno::Type SAL_CALL reportdesign::OFormattedField::getElementType ( )
overridevirtual

Definition at line 288 of file FormattedField.cxx.

References cppu::UnoType< typename T >::get().

◆ getFormatKey()

sal_Int32 SAL_CALL reportdesign::OFormattedField::getFormatKey ( )
override

Definition at line 226 of file FormattedField.cxx.

References m_aMutex.

◆ getFormatsSupplier()

uno::Reference< util::XNumberFormatsSupplier > SAL_CALL reportdesign::OFormattedField::getFormatsSupplier ( )
overridevirtual

Definition at line 237 of file FormattedField.cxx.

References m_aMutex.

◆ getImplementationName()

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

Definition at line 106 of file FormattedField.cxx.

◆ getImplementationName_Static()

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

Definition at line 100 of file FormattedField.cxx.

◆ getParent()

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

Definition at line 261 of file FormattedField.cxx.

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 133 of file FormattedField.cxx.

◆ getPropertyValue()

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

Definition at line 147 of file FormattedField.cxx.

◆ getShapeType()

OUString SAL_CALL reportdesign::OFormattedField::getShapeType ( )
overridevirtual

Definition at line 349 of file FormattedField.cxx.

References m_aMutex, and m_aProps.

◆ getSupportedServiceNames()

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

Definition at line 116 of file FormattedField.cxx.

◆ getSupportedServiceNames_Static()

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

Definition at line 111 of file FormattedField.cxx.

References SERVICE_FORMATTEDFIELD.

◆ hasElements()

sal_Bool SAL_CALL reportdesign::OFormattedField::hasElements ( )
overridevirtual

Definition at line 293 of file FormattedField.cxx.

References m_aProps.

◆ insertByIndex()

void SAL_CALL reportdesign::OFormattedField::insertByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 299 of file FormattedField.cxx.

References m_aProps.

◆ operator=()

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

◆ removeByIndex()

void SAL_CALL reportdesign::OFormattedField::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 304 of file FormattedField.cxx.

References m_aProps.

◆ removeContainerListener()

void SAL_CALL reportdesign::OFormattedField::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 282 of file FormattedField.cxx.

References m_aProps.

◆ removeEventListener()

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

Definition at line 180 of file FormattedField.hxx.

◆ removePropertyChangeListener()

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

Definition at line 157 of file FormattedField.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 167 of file FormattedField.cxx.

◆ replaceByIndex()

void SAL_CALL reportdesign::OFormattedField::replaceByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 310 of file FormattedField.cxx.

References m_aProps.

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

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

◆ setFormatKey()

void SAL_CALL reportdesign::OFormattedField::setFormatKey ( ::sal_Int32  the_value)
overridevirtual

Definition at line 232 of file FormattedField.cxx.

References PROPERTY_FORMATKEY, and set().

◆ setFormatsSupplier()

void SAL_CALL reportdesign::OFormattedField::setFormatsSupplier ( const css::uno::Reference< css::util::XNumberFormatsSupplier > &  _formatssupplier)
overridevirtual

Definition at line 255 of file FormattedField.cxx.

References PROPERTY_FORMATSSUPPLIER, and set().

◆ setParent()

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

Definition at line 266 of file FormattedField.cxx.

References Parent.

◆ setPropertyValue()

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

Definition at line 138 of file FormattedField.cxx.

References uno::Any::hasValue(), and PROPERTY_FORMATKEY.

◆ supportsService()

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

Definition at line 121 of file FormattedField.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ OShapeHelper

friend class OShapeHelper
friend

Definition at line 46 of file FormattedField.hxx.

Member Data Documentation

◆ m_aProps

OReportControlModel reportdesign::OFormattedField::m_aProps
private

Definition at line 48 of file FormattedField.hxx.

◆ m_nFormatKey

::sal_Int32 reportdesign::OFormattedField::m_nFormatKey
private

Definition at line 51 of file FormattedField.hxx.

◆ m_xFormatsSupplier

css::uno::Reference< css::util::XNumberFormatsSupplier > reportdesign::OFormattedField::m_xFormatsSupplier
private

Definition at line 50 of file FormattedField.hxx.


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