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

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
 

Protected Member Functions

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

 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)
 

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

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

Definition at line 70 of file FormattedField.cxx.

reportdesign::OFormattedField::OFormattedField ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit
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

Member Function Documentation

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

Definition at line 261 of file FormattedField.cxx.

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

Definition at line 171 of file FormattedField.hxx.

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

Definition at line 136 of file FormattedField.cxx.

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

Definition at line 146 of file FormattedField.cxx.

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

Definition at line 192 of file FormattedField.cxx.

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

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

Definition at line 88 of file FormattedField.cxx.

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

Definition at line 305 of file FormattedField.cxx.

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

Definition at line 300 of file FormattedField.cxx.

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

Definition at line 272 of file FormattedField.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 210 of file FormattedField.cxx.

References m_aMutex, and m_nFormatKey.

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

Definition at line 221 of file FormattedField.cxx.

References dbtools::findDataSource(), and m_aMutex.

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

Definition at line 95 of file FormattedField.cxx.

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

Definition at line 245 of file FormattedField.cxx.

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 117 of file FormattedField.cxx.

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

Definition at line 131 of file FormattedField.cxx.

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

Definition at line 333 of file FormattedField.cxx.

References m_aMutex.

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

Definition at line 100 of file FormattedField.cxx.

References SERVICE_FORMATTEDFIELD.

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

Definition at line 277 of file FormattedField.cxx.

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

Definition at line 283 of file FormattedField.cxx.

OFormattedField& reportdesign::OFormattedField::operator= ( const OFormattedField )
privatedelete
void SAL_CALL reportdesign::OFormattedField::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 288 of file FormattedField.cxx.

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

Definition at line 266 of file FormattedField.cxx.

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

Definition at line 175 of file FormattedField.hxx.

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

Definition at line 141 of file FormattedField.cxx.

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

Definition at line 151 of file FormattedField.cxx.

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

Definition at line 294 of file FormattedField.cxx.

void reportdesign::OFormattedField::set ( const OUString &  _sProperty,
sal_Int16  Value,
css::style::ParagraphAdjust &  _member 
)
inlineprivate
template<typename T >
void reportdesign::OFormattedField::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OFormattedField::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OFormattedField::setFormatKey ( ::sal_Int32  the_value)
overridevirtual

Definition at line 216 of file FormattedField.cxx.

References m_nFormatKey, PROPERTY_FORMATKEY, and set().

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

Definition at line 239 of file FormattedField.cxx.

References PROPERTY_FORMATSSUPPLIER, and set().

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

Definition at line 250 of file FormattedField.cxx.

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

Definition at line 105 of file FormattedField.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class OShapeHelper
friend

Definition at line 46 of file FormattedField.hxx.

Member Data Documentation

OReportControlModel reportdesign::OFormattedField::m_aProps
private

Definition at line 48 of file FormattedField.hxx.

::sal_Int32 reportdesign::OFormattedField::m_nFormatKey
private

Definition at line 51 of file FormattedField.hxx.

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: