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

implementation of a More...

#include <FixedText.hxx>

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

Public Member Functions

 OFixedText (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
 OFixedText (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 OUString SAL_CALL getShapeType () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual OUString SAL_CALL getLabel () override
 
virtual void SAL_CALL setLabel (const OUString &_label) 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
 
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
 

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

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

Private Attributes

OReportControlModel m_aProps
 
OUString m_sLabel
 

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 43 of file FixedText.hxx.

Constructor & Destructor Documentation

◆ OFixedText() [1/3]

reportdesign::OFixedText::OFixedText ( const OFixedText )
privatedelete

◆ ~OFixedText()

reportdesign::OFixedText::~OFixedText ( )
overrideprivatevirtual

Definition at line 66 of file FixedText.cxx.

◆ OFixedText() [2/3]

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

◆ OFixedText() [3/3]

reportdesign::OFixedText::OFixedText ( 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::OFixedText::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 239 of file FixedText.cxx.

References m_aProps.

◆ addEventListener()

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

Definition at line 151 of file FixedText.hxx.

◆ addPropertyChangeListener()

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

Definition at line 146 of file FixedText.cxx.

◆ addVetoableChangeListener()

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

Definition at line 156 of file FixedText.cxx.

◆ create()

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

Definition at line 109 of file FixedText.cxx.

◆ createClone()

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

Definition at line 202 of file FixedText.cxx.

References reportdesign::cloneObject(), m_aProps, and SERVICE_FIXEDTEXT.

◆ dispose()

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

Definition at line 84 of file FixedText.cxx.

◆ getByIndex()

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

Definition at line 283 of file FixedText.cxx.

References m_aProps.

◆ getCount()

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

Definition at line 278 of file FixedText.cxx.

References m_aProps.

◆ getElementType()

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

Definition at line 250 of file FixedText.cxx.

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

◆ getImplementationName()

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

Definition at line 97 of file FixedText.cxx.

◆ getImplementationName_Static()

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

Definition at line 91 of file FixedText.cxx.

◆ getLabel()

OUString SAL_CALL reportdesign::OFixedText::getLabel ( )
overridevirtual

Definition at line 211 of file FixedText.cxx.

References m_aMutex.

◆ getParent()

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

Definition at line 223 of file FixedText.cxx.

◆ getPropertySetInfo()

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

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 131 of file FixedText.cxx.

◆ getPropertyValue()

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

Definition at line 141 of file FixedText.cxx.

◆ getShapeType()

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

Definition at line 311 of file FixedText.cxx.

References m_aMutex, and m_aProps.

◆ getSupportedServiceNames()

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

Definition at line 115 of file FixedText.cxx.

◆ getSupportedServiceNames_Static()

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

Definition at line 102 of file FixedText.cxx.

References SERVICE_FIXEDTEXT.

◆ hasElements()

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

Definition at line 255 of file FixedText.cxx.

References m_aProps.

◆ insertByIndex()

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

Definition at line 261 of file FixedText.cxx.

References m_aProps.

◆ operator=()

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

◆ removeByIndex()

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

Definition at line 266 of file FixedText.cxx.

References m_aProps.

◆ removeContainerListener()

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

Definition at line 244 of file FixedText.cxx.

References m_aProps.

◆ removeEventListener()

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

Definition at line 155 of file FixedText.hxx.

◆ removePropertyChangeListener()

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

Definition at line 151 of file FixedText.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 161 of file FixedText.cxx.

◆ replaceByIndex()

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

Definition at line 272 of file FixedText.cxx.

References m_aProps.

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

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

◆ setLabel()

void SAL_CALL reportdesign::OFixedText::setLabel ( const OUString &  _label)
overridevirtual

Definition at line 217 of file FixedText.cxx.

References PROPERTY_LABEL, and set().

◆ setParent()

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

Definition at line 228 of file FixedText.cxx.

References Parent.

◆ setPropertyValue()

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

Definition at line 136 of file FixedText.cxx.

◆ supportsService()

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

Definition at line 120 of file FixedText.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ OShapeHelper

friend class OShapeHelper
friend

Definition at line 47 of file FixedText.hxx.

Member Data Documentation

◆ m_aProps

OReportControlModel reportdesign::OFixedText::m_aProps
private

Definition at line 48 of file FixedText.hxx.

◆ m_sLabel

OUString reportdesign::OFixedText::m_sLabel
private

Definition at line 49 of file FixedText.hxx.


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